|
@@ -5,6 +5,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fs.common.annotation.Excel;
|
|
import com.fs.common.annotation.Excel;
|
|
import com.fs.common.core.domain.BaseEntity;
|
|
import com.fs.common.core.domain.BaseEntity;
|
|
import com.vdurmont.emoji.EmojiParser;
|
|
import com.vdurmont.emoji.EmojiParser;
|
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
@@ -22,7 +23,6 @@ public class FsUser extends BaseEntity
|
|
|
|
|
|
/** 用户id */
|
|
/** 用户id */
|
|
private Long userId;
|
|
private Long userId;
|
|
- @Excel(name = "帐号")
|
|
|
|
private String username;
|
|
private String username;
|
|
/** 用户密码(跟pwd) */
|
|
/** 用户密码(跟pwd) */
|
|
private String password;
|
|
private String password;
|
|
@@ -36,44 +36,40 @@ public class FsUser extends BaseEntity
|
|
/** 身份证号码 */
|
|
/** 身份证号码 */
|
|
private String idCard;
|
|
private String idCard;
|
|
|
|
|
|
- @Excel(name = "用户头像")
|
|
|
|
|
|
+ @Excel(name = "会员头像",sort = 2)
|
|
private String avatar;
|
|
private String avatar;
|
|
|
|
|
|
/** 用户昵称 */
|
|
/** 用户昵称 */
|
|
- @Excel(name = "用户昵称")
|
|
|
|
|
|
+ @Excel(name = "会员昵称", sort = 1)
|
|
private String nickname;
|
|
private String nickname;
|
|
|
|
|
|
/** 用户备注 */
|
|
/** 用户备注 */
|
|
- @Excel(name = "用户备注")
|
|
|
|
|
|
+ @Excel(name = "用户备注", sort = 12)
|
|
private String remark;
|
|
private String remark;
|
|
|
|
|
|
|
|
|
|
/** 手机号码 */
|
|
/** 手机号码 */
|
|
- @Excel(name = "手机号码")
|
|
|
|
|
|
+ @Excel(name = "手机号码", sort = 3)
|
|
private String phone;
|
|
private String phone;
|
|
|
|
|
|
/** 最后一次登录ip */
|
|
/** 最后一次登录ip */
|
|
- @Excel(name = "最后一次登录ip")
|
|
|
|
private String lastIp;
|
|
private String lastIp;
|
|
|
|
|
|
/** 用户余额 */
|
|
/** 用户余额 */
|
|
- @Excel(name = "用户余额")
|
|
|
|
|
|
+ @Excel(name = "用户余额", sort = 4)
|
|
private BigDecimal nowMoney;
|
|
private BigDecimal nowMoney;
|
|
|
|
|
|
/** 佣金金额 */
|
|
/** 佣金金额 */
|
|
- @Excel(name = "佣金金额")
|
|
|
|
private BigDecimal brokeragePrice;
|
|
private BigDecimal brokeragePrice;
|
|
|
|
|
|
/** 用户剩余积分 */
|
|
/** 用户剩余积分 */
|
|
- @Excel(name = "用户剩余积分")
|
|
|
|
|
|
+ @Excel(name = "积分", sort = 5)
|
|
private BigDecimal integral;
|
|
private BigDecimal integral;
|
|
|
|
|
|
/** 连续签到天数 */
|
|
/** 连续签到天数 */
|
|
- @Excel(name = "连续签到天数")
|
|
|
|
private Long signNum;
|
|
private Long signNum;
|
|
|
|
|
|
/** 1为正常,0为禁止 */
|
|
/** 1为正常,0为禁止 */
|
|
- @Excel(name = "状态:1为正常,0为禁止")
|
|
|
|
private Integer status;
|
|
private Integer status;
|
|
private String statusText;
|
|
private String statusText;
|
|
|
|
|
|
@@ -119,11 +115,8 @@ public class FsUser extends BaseEntity
|
|
private String companyUserName;
|
|
private String companyUserName;
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
- @Excel(name = "推线日期", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
|
private Date registerDate;
|
|
private Date registerDate;
|
|
- @Excel(name = "推线编码")
|
|
|
|
private String registerCode;
|
|
private String registerCode;
|
|
- @Excel(name = "渠道")
|
|
|
|
private String source;
|
|
private String source;
|
|
|
|
|
|
private String userCode;
|
|
private String userCode;
|
|
@@ -163,6 +156,10 @@ public class FsUser extends BaseEntity
|
|
@TableField(exist = false)
|
|
@TableField(exist = false)
|
|
private String companyUserNickName;
|
|
private String companyUserNickName;
|
|
|
|
|
|
|
|
+ @ApiModelProperty(value = "所属公司")
|
|
|
|
+ @Excel(name = "所属公司", sort = 9)
|
|
|
|
+ private String companyName;
|
|
|
|
+
|
|
public Integer getQwRepeat() {
|
|
public Integer getQwRepeat() {
|
|
return qwRepeat;
|
|
return qwRepeat;
|
|
}
|
|
}
|
|
@@ -641,4 +638,12 @@ public class FsUser extends BaseEntity
|
|
public void setCompanyUserNickName(String companyUserNickName) {
|
|
public void setCompanyUserNickName(String companyUserNickName) {
|
|
this.companyUserNickName = companyUserNickName;
|
|
this.companyUserNickName = companyUserNickName;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public String getCompanyName() {
|
|
|
|
+ return companyName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCompanyName(String companyName) {
|
|
|
|
+ this.companyName = companyName;
|
|
|
|
+ }
|
|
}
|
|
}
|