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

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

/**
 * 提交商户注销/注销提现请求 DTO。
 *
 * @author jeesharp
 * @since 2026-06-15
 */
@Data
@Schema(description = "商户注销提交请求")
public class PaySubMerchantCancelSubmitDTO {

    @NotBlank(message = "进件记录 ID 不能为空")
    @Schema(description = "进件主表 ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String applymentId;

    @NotBlank(message = "是否提取资金不能为空")
    @Schema(description = "NOT_APPLY_WITHDRAW 或 APPLY_WITHDRAW", requiredMode = Schema.RequiredMode.REQUIRED)
    private String withdraw;

    @Schema(description = "账户类型（注销并提现时）：ACCOUNT_TYPE_BUSINESS/ACCOUNT_TYPE_PRIVATE")
    private String accountType;

    @Schema(description = "开户银行（注销并提现时）")
    private String accountBank;

    @Schema(description = "开户银行省市编码")
    private String bankAddressCode;

    @Schema(description = "开户银行全称（含支行）")
    private String bankName;

    @Schema(description = "银行账号（明文，服务端加密后提交微信）")
    private String accountNumber;

    @Schema(description = "开户名称（明文，服务端加密后提交微信）")
    private String accountName;

    @Schema(description = "联行号")
    private String bankBranchId;
}
