package com.cool.store.request.wallet;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Auther zx_szh
 * @Date 2026/2/5 13:48
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BatchTransferRequest {
    /**
     * 钱包类型，1平安，2网商
     */
    private Integer walletType = 2;

    private String outStoreId;

    private String payPwd;

    private Integer verifyPassword;

    private List<TransDataRequest> transArray;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    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;

    }


}
