| | |
| | | package com.ruoyi.system.model; |
| | | |
| | | import java.math.BigDecimal; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import cn.afterturn.easypoi.excel.annotation.Excel; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import java.time.LocalDate; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import java.time.LocalDateTime; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import java.io.Serializable; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | |
| | | @ApiModelProperty(value = "姓名") |
| | | @TableField("name") |
| | | @Excel(name = "用户名", width = 20,orderNum = "1") |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "头像") |
| | | @TableField("profile_photo") |
| | | @Excel(name = "头像", width = 20, imageType = 1,type = 2,orderNum = "0") |
| | | private String profilePhoto; |
| | | |
| | | @ApiModelProperty(value = "推广号") |
| | | @TableField("code") |
| | | @Excel(name = "推广号", width = 20,orderNum = "2") |
| | | private String code; |
| | | |
| | | @ApiModelProperty(value = "推广二维码地址") |
| | |
| | | |
| | | @ApiModelProperty(value = "手机号") |
| | | @TableField("phone") |
| | | @Excel(name = "联系电话", width = 20,orderNum = "3") |
| | | private String phone; |
| | | |
| | | @ApiModelProperty(value = "性别(1=男,2=女)") |
| | | @TableField("gender") |
| | | @Excel(name = "性别", width = 20,orderNum = "4",replace = {"男_1","女_2"}) |
| | | private Integer gender; |
| | | |
| | | @ApiModelProperty(value = "生日") |
| | | @TableField("birthday") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "出生日期", width = 20,orderNum = "5",format = "yyyy-MM-dd") |
| | | private LocalDate birthday; |
| | | |
| | | @ApiModelProperty(value = "微信openid") |
| | | @TableField("openid") |
| | | private String openid; |
| | | |
| | | // 1:游客;2:营销员;3:合伙人; |
| | | @ApiModelProperty(value = "角色(1=游客,2=营销员,3=合伙人)") |
| | | @TableField("user_type") |
| | | @Excel(name = "角色", width = 20,orderNum = "7",replace = {"游客_1","营销员_2","合伙人_3"}) |
| | | private Integer userType; |
| | | |
| | | @ApiModelProperty(value = "注册时间") |
| | | @TableField("create_time") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "注册时间", width = 20,orderNum = "6",format = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty(value = "历史累计积分") |
| | | @TableField("total_accumulative_integral") |
| | | private Integer totalAccumulativeIntegral; |
| | | |
| | | @ApiModelProperty(value = "累计积分") |
| | | @TableField("accumulative_integral") |
| | |
| | | |
| | | @ApiModelProperty(value = "状态(1=正常,2=冻结,3=删除)") |
| | | @TableField("status") |
| | | @Excel(name = "状态", width = 20,orderNum = "8",replace = {"正常_1","冻结_2","删除_3"}) |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "股东ID") |
| | | @TableField("referrer_sys_user_id") |
| | | private Integer referrerSysUserId; |
| | | |
| | | @ApiModelProperty(value = "股东推荐时间") |
| | | @TableField("referrer_sys_user_time") |
| | | private LocalDateTime referrerSysUserTime; |
| | | |
| | | @ApiModelProperty(value = "当月预估积分") |
| | | @TableField(exist = false) |
| | | private BigDecimal estimatedMonthlyIntegral; |
| | | |
| | | } |