package com.hzs.system.config.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.annotation.Excel;
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;

/**
 * 交易配置白名单
 *
 * @Description:
 * @Author: ljc
 * @Time: 2023/8/21 9:50
 * @Classname: BdTradeWhiteConfigVO
 * @Package_name: com.hzs.system.config.vo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BdTradeWhiteConfigVO implements Serializable {
    private static final long serialVersionUID = 1054079713910157309L;


    private Integer pkId;

    /**
     * 会员主键
     */
    private Long pkMember;
    /**
     * 会员编号
     */
    @Excel(name = "会员编号")
    private String memberCode;
    /**
     * 会员姓名
     */
    @Excel(name = "会员姓名")
    private String memberName;
    /**
     * 真实奖衔
     */
    @Excel(name = "真实奖衔")
    private String pkAwardsVal;
    /**
     * 隶属体系
     */
    @Excel(name = "隶属体系")
    private String vertexName;
    /**
     * 团队名称
     */
    @Excel(name = "隶属团队")
    private String teamName;
    /**
     * 真实奖衔
     */
    @Transaction(transactionKey = EnumsPrefixConstants.KEY_AWARD)
    private Integer pkAwards;

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

    @Excel(name = "提现权限")
    private String withdrawalStateVal;

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

    @Excel(name = "转账权限")
    private String transferStateVal;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;

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

    /**
     * 创建人ID
     */
    private Long pkCreator;

    /**
     * 隶属体系
     */
    private Integer vertexId;

    /**
     * 隶属团队
     */
    private Integer teamId;

    /**
     * 开始时间
     */
    private String startDate;
    /**
     * 结束时间
     */
    private String endDate;
}
