| | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "昵称") |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "手机号") |
| | | private String phone; |
| | | |
| | | @ApiModelProperty(value = "邮箱") |
| | | private String email; |
| | | |
| | | @ApiModelProperty(value = "性别") |
| | | private String sex; |
| | | |
| | | @ApiModelProperty(value = "邀请码") |
| | | private String inviteId; |
| | | |
| | | @ApiModelProperty(value = "头像") |
| | | private String avatar; |
| | | |
| | | @ApiModelProperty(value = "余额") |
| | | private BigDecimal balance; |
| | | |
| | | @ApiModelProperty(value = "代理等级") |
| | | @ApiModelProperty(value = "手机号") |
| | | private String phone; |
| | | @ApiModelProperty(value = "邀请码(如果是团长,邀请码就是团长特征码)") |
| | | private String inviteId; |
| | | @ApiModelProperty(value = "VIP等级图片") |
| | | private String levelPng; |
| | | @ApiModelProperty(value = "VIP等级名称") |
| | | private String levelName; |
| | | |
| | | @ApiModelProperty(value = "推荐人昵称") |
| | | private String referrerName; |
| | | |
| | | @ApiModelProperty(value = "VIP等级编码") |
| | | private String level; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createdTime; |
| | | @ApiModelProperty(value = "碳币") |
| | | private BigDecimal balance; |
| | | @ApiModelProperty(value = "碳积分") |
| | | private BigDecimal score; |
| | | |
| | | /** |
| | | * 账户状态;1-正常 2-禁用 |
| | | */ |
| | | private Integer accountStatus; |
| | | public static final int ACCOUNTSTATUS_Y = 1; |
| | | public static final int ACCOUNTSTATUS_N = 2; |
| | | @ApiModelProperty(value = "碳积分兑换碳币的最小值") |
| | | private BigDecimal minScore; |
| | | |
| | | @ApiModelProperty(value = "是否设置收款方式", example = "1是2否") |
| | | private Integer hasPayment = 2; |
| | | @ApiModelProperty(value = "碳积分兑换碳币的比值,如果为0.5,则表示1积分兑换0.5个碳币") |
| | | private BigDecimal scoreBalance; |
| | | |
| | | @ApiModelProperty(value = "是否设置交易密码", example = "1是2否") |
| | | private Integer hasTradePwd = 2; |
| | | @ApiModelProperty(value = "碳币兑换USDT的比值,如果为0.5,则表示1碳币兑换0.5个USDT") |
| | | private BigDecimal balanceCoin; |
| | | |
| | | @ApiModelProperty(value = "绑定手机号") |
| | | private String bindPhone; |
| | | @ApiModelProperty(value = "碳币兑换USDT的手续费") |
| | | private BigDecimal balanceCoinPercent; |
| | | |
| | | @ApiModelProperty(value = "是否有支付密码 1:是 0:否") |
| | | private Integer tradeWord; |
| | | |
| | | |
| | | @ApiModelProperty(value = "会员到期时间") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date vipLevelTime; |
| | | |
| | | } |