package com.cool.store.dto.wallet;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Auther zx_szh
 * @Date 2026/2/5 13:54
 * @Version 1.0
 */
@Data
public class BatchTransferDTO {

    @ApiModelProperty("交易状态1.成功 2.失败 3.处理中")
    private Integer tradeStatus;

    @ApiModelProperty("批量转账数据")
    private List<TransDataRequest> transArray;

    @ApiModelProperty("批次号")
    private String batchCode;

    @Data
    public static class TransDataRequest {

        @ApiModelProperty("业务系统付款单号(如 CRM 单号),业务系统单号")
        private String reqNo;
        @ApiModelProperty("费用科目")
        private Integer feeItemId;
        @ApiModelProperty("公司编号")
        private String companyCode;
        @ApiModelProperty("公司编号绑定多个账户时,必传")
        private String companyAccountCode;
        @ApiModelProperty("金额(元)")
        private String amount;
        @ApiModelProperty("备注")
        private String remark;
        @ApiModelProperty("交易流水id")
        private String tradeId;
    }

}
