package com.jeesharp.business.modules.pay.payfundwithdraw.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 预约提现提交请求 DTO（平台/商户共用）。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
@Data
@Schema(description = "预约提现提交请求")
public class PayFundWithdrawSubmitDTO {

    @NotBlank(message = "出款账户类型不能为空")
    @Schema(description = "出款账户类型：BASIC/OPERATION/FEES", required = true)
    private String accountType;

    @NotNull(message = "提现金额不能为空")
    @Min(value = 1, message = "提现金额必须大于0")
    @Schema(description = "提现金额（分）", required = true)
    private Long amount;

    @Schema(description = "提现备注")
    private String remark;

    @Schema(description = "银行附言")
    private String bankMemo;
}
