package com.xcong.excoin.modules.agent.pojo;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* @author wzy
|
* @date 2020-06-11
|
**/
|
@Data
|
public class AgentUser {
|
|
/**
|
* 后台用户主键ID
|
*/
|
private Long id;
|
|
/**
|
* 代理姓名
|
*/
|
@NotBlank(message = "代理姓名不能为空")
|
private String name;
|
|
/**
|
* 代理账号
|
*/
|
@NotBlank(message = "代理账号不能为空")
|
private String account;
|
|
/**
|
* 邀请码
|
*/
|
@NotBlank(message = "邀请码不能为空")
|
private String inviteId;
|
|
/**
|
* 手机号
|
*/
|
private String telphone;
|
|
/**
|
* 邮箱
|
*/
|
private String email;
|
|
/**
|
* 上级邀请码
|
*/
|
private String refererId;
|
|
/**
|
* 发展代理数
|
*/
|
private Integer childCnt;
|
|
/**
|
* 充值总数
|
*/
|
private BigDecimal chargeTotal;
|
|
/**
|
* 提现总数
|
*/
|
private BigDecimal cashOutTotal;
|
|
/**
|
* 佣金返现
|
*/
|
private BigDecimal returnTotal;
|
|
/**
|
* 返佣比例
|
*/
|
@NotNull(message = "返佣比例不能为空")
|
private BigDecimal returnRatio;
|
|
/**
|
* 状态
|
*/
|
private Integer status;
|
|
/**
|
* 创建时间
|
*/
|
private Date createTime;
|
|
/**
|
* 实名状态
|
*/
|
//@TableField(exist = false)
|
private Integer certifyStatus;
|
|
private Integer accountType;
|
private Integer accountStatus;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date startTime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date endTime;
|
|
}
|