package com.hzs.system.config.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * 交易配置
 *
 * @Description:
 * @Author: ljc
 * @Time: 2023/8/18 11:14
 * @Classname: BdTradeConfigVO
 * @Package_name: com.hzs.system.config.vo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BdTradeConfigVO implements Serializable {
    private static final long serialVersionUID = 3674157609077134529L;


    private Integer pkId;

    /**
     * 注册等级
     */
    private List<Integer> pkGradeList;

    /**
     * 注册等级
     */
    private List<Integer> pkAwardsList;

    /**
     * 1:提现 2:转账 (来源枚举EBusinessModule)
     */
    @Transaction(transactionKey = EnumsPrefixConstants.BUSINESS_MODULE)
    private Integer businessModule;

    private String businessModuleVal;

    /**
     * 实名状态  1:禁止 0：允许  (来源枚举EYesNo)
     */
    @Transaction(transactionKey = EnumsPrefixConstants.YES_NO)
    private Integer realNameState;

    private String realNameStateVal;

    /**
     * 营业执照状态 1:禁止 0：允许 (来源枚举EYesNo)
     */
    @Transaction(transactionKey = EnumsPrefixConstants.YES_NO)
    private Integer licenseState;

    private String licenseStateVal;


    /**
     * 国家
     */
    private Integer pkCountry;

    /**
     * 会员ID
     */
    private Long pkMember;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;

    private Integer pkGrade;

    private Integer pkAwards;

    /**
     * 开始时间
     */
    private String startDate;
    /**
     * 结束时间
     */
    private String endDate;
    @Transaction
    private List<BdTradeConfigDetailVO> gradeDetailList;

    @Transaction
    private List<BdTradeConfigDetailVO> awardsDetailList;
}
