package com.hzs.member.account.dto;

import com.hzs.common.core.web.domain.BaseApprovalEntity;
import com.hzs.common.domain.member.base.CuMember;
import com.hzs.common.domain.member.ext.CuMemberAccountExt;
import com.hzs.system.sys.dto.LoginUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
import java.util.Map;


/**
 * 批量充值入参
 *
 * @Description:
 * @Author: ljc
 * @Time: 2023/6/19 20:04
 * @Classname: CuMemberBatchRechargeParam
 * @Package_name: com.hzs.member.account.dto
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CuMemberBatchRechargeParam extends BaseApprovalEntity implements Serializable {

    private static final long serialVersionUID = 8393390853890271296L;


    /**
     * 充值方式 (增加、减小、最终金额)
     */
    private Integer rechargeMethod;


    /**
     * 批量充值详情
     */
    private List<CuMemberBatchRechargeDetailParam> detailParams;


    //以下为兼容参数

    /**
     * 国家ID
     */
    private Integer pkCountry;
    /**
     * 登录用户
     */
    private LoginUser loginUser;

    /**
     * 汇率
     */
    private Integer PkRate;

    /**
     * 会员编号
     */
    private List<String> memberCodes;

    /**
     * 会员信息Map
     */
    private Map<String, Long> memberMap;

    /**
     * 会员信息
     */
    private List<CuMember> cuMembers;

    /**
     * 账号余额
     */
    Map<String, CuMemberAccountExt> memberAccountExtMap;

    /**
     * 批次号
     */
    private String batchNum;

    /**
     * 是否特殊充值
     */
    private Integer isSpecial;

}
