tzz添加了实体类
parent
b05ad3dc20
commit
b903d54254
|
@ -1,5 +1,7 @@
|
||||||
package com.four.system.api.domain;
|
package com.four.system.api.domain;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Arrays;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.validation.constraints.*;
|
import javax.validation.constraints.*;
|
||||||
|
@ -89,6 +91,136 @@ public class SysUser extends BaseEntity
|
||||||
/** 角色ID */
|
/** 角色ID */
|
||||||
private Long roleId;
|
private Long roleId;
|
||||||
|
|
||||||
|
/** 体征 **/
|
||||||
|
private String userSign;
|
||||||
|
/** 绑定微信状态 1:未绑定 2:已绑定 **/
|
||||||
|
private Integer bindWechatStatus;
|
||||||
|
/** 实名认证状态 1:未绑定 2:已绑定 **/
|
||||||
|
private Integer realNameAuthenticationStatus;
|
||||||
|
/** 绑定银行卡状态 1:未绑定 2:已绑定 **/
|
||||||
|
private Integer bindBankCardStatus;
|
||||||
|
/** 余额 **/
|
||||||
|
private BigDecimal userMoney;
|
||||||
|
/** 邀请码 **/
|
||||||
|
private String invitationCode;
|
||||||
|
/** 状态1:患者 2:医生 **/
|
||||||
|
private Integer differentialState;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "SysUser{" +
|
||||||
|
"userId=" + userId +
|
||||||
|
", deptId=" + deptId +
|
||||||
|
", userName='" + userName + '\'' +
|
||||||
|
", nickName='" + nickName + '\'' +
|
||||||
|
", email='" + email + '\'' +
|
||||||
|
", phonenumber='" + phonenumber + '\'' +
|
||||||
|
", sex='" + sex + '\'' +
|
||||||
|
", avatar='" + avatar + '\'' +
|
||||||
|
", password='" + password + '\'' +
|
||||||
|
", status='" + status + '\'' +
|
||||||
|
", delFlag='" + delFlag + '\'' +
|
||||||
|
", loginIp='" + loginIp + '\'' +
|
||||||
|
", loginDate=" + loginDate +
|
||||||
|
", dept=" + dept +
|
||||||
|
", roles=" + roles +
|
||||||
|
", roleIds=" + Arrays.toString(roleIds) +
|
||||||
|
", postIds=" + Arrays.toString(postIds) +
|
||||||
|
", roleId=" + roleId +
|
||||||
|
", userSign='" + userSign + '\'' +
|
||||||
|
", bindWechatStatus=" + bindWechatStatus +
|
||||||
|
", realNameAuthenticationStatus=" + realNameAuthenticationStatus +
|
||||||
|
", bindBankCardStatus=" + bindBankCardStatus +
|
||||||
|
", userMoney=" + userMoney +
|
||||||
|
", invitationCode='" + invitationCode + '\'' +
|
||||||
|
", differentialState=" + differentialState +
|
||||||
|
'}';
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserSign() {
|
||||||
|
return userSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserSign(String userSign) {
|
||||||
|
this.userSign = userSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getBindWechatStatus() {
|
||||||
|
return bindWechatStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBindWechatStatus(Integer bindWechatStatus) {
|
||||||
|
this.bindWechatStatus = bindWechatStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getRealNameAuthenticationStatus() {
|
||||||
|
return realNameAuthenticationStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRealNameAuthenticationStatus(Integer realNameAuthenticationStatus) {
|
||||||
|
this.realNameAuthenticationStatus = realNameAuthenticationStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getBindBankCardStatus() {
|
||||||
|
return bindBankCardStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBindBankCardStatus(Integer bindBankCardStatus) {
|
||||||
|
this.bindBankCardStatus = bindBankCardStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getUserMoney() {
|
||||||
|
return userMoney;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserMoney(BigDecimal userMoney) {
|
||||||
|
this.userMoney = userMoney;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getInvitationCode() {
|
||||||
|
return invitationCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setInvitationCode(String invitationCode) {
|
||||||
|
this.invitationCode = invitationCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getDifferentialState() {
|
||||||
|
return differentialState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDifferentialState(Integer differentialState) {
|
||||||
|
this.differentialState = differentialState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public SysUser(Long userId, Long deptId, String userName, String nickName, String email, String phonenumber, String sex, String avatar, String password, String status, String delFlag, String loginIp, Date loginDate, SysDept dept, List<SysRole> roles, Long[] roleIds, Long[] postIds, Long roleId, String userSign, Integer bindWechatStatus, Integer realNameAuthenticationStatus, Integer bindBankCardStatus, BigDecimal userMoney, String invitationCode, Integer differentialState) {
|
||||||
|
this.userId = userId;
|
||||||
|
this.deptId = deptId;
|
||||||
|
this.userName = userName;
|
||||||
|
this.nickName = nickName;
|
||||||
|
this.email = email;
|
||||||
|
this.phonenumber = phonenumber;
|
||||||
|
this.sex = sex;
|
||||||
|
this.avatar = avatar;
|
||||||
|
this.password = password;
|
||||||
|
this.status = status;
|
||||||
|
this.delFlag = delFlag;
|
||||||
|
this.loginIp = loginIp;
|
||||||
|
this.loginDate = loginDate;
|
||||||
|
this.dept = dept;
|
||||||
|
this.roles = roles;
|
||||||
|
this.roleIds = roleIds;
|
||||||
|
this.postIds = postIds;
|
||||||
|
this.roleId = roleId;
|
||||||
|
this.userSign = userSign;
|
||||||
|
this.bindWechatStatus = bindWechatStatus;
|
||||||
|
this.realNameAuthenticationStatus = realNameAuthenticationStatus;
|
||||||
|
this.bindBankCardStatus = bindBankCardStatus;
|
||||||
|
this.userMoney = userMoney;
|
||||||
|
this.invitationCode = invitationCode;
|
||||||
|
this.differentialState = differentialState;
|
||||||
|
}
|
||||||
|
|
||||||
public SysUser()
|
public SysUser()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -296,28 +428,4 @@ public class SysUser extends BaseEntity
|
||||||
{
|
{
|
||||||
this.roleId = roleId;
|
this.roleId = roleId;
|
||||||
}
|
}
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
||||||
.append("userId", getUserId())
|
|
||||||
.append("deptId", getDeptId())
|
|
||||||
.append("userName", getUserName())
|
|
||||||
.append("nickName", getNickName())
|
|
||||||
.append("email", getEmail())
|
|
||||||
.append("phonenumber", getPhonenumber())
|
|
||||||
.append("sex", getSex())
|
|
||||||
.append("avatar", getAvatar())
|
|
||||||
.append("password", getPassword())
|
|
||||||
.append("status", getStatus())
|
|
||||||
.append("delFlag", getDelFlag())
|
|
||||||
.append("loginIp", getLoginIp())
|
|
||||||
.append("loginDate", getLoginDate())
|
|
||||||
.append("createBy", getCreateBy())
|
|
||||||
.append("createTime", getCreateTime())
|
|
||||||
.append("updateBy", getUpdateBy())
|
|
||||||
.append("updateTime", getUpdateTime())
|
|
||||||
.append("remark", getRemark())
|
|
||||||
.append("dept", getDept())
|
|
||||||
.toString();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
#Generated by Maven
|
#Generated by Maven
|
||||||
#Mon Oct 16 20:46:13 CST 2023
|
#Tue Oct 24 20:34:51 CST 2023
|
||||||
groupId=com.four
|
groupId=com.four
|
||||||
artifactId=four-api-system
|
artifactId=four-api-system
|
||||||
version=3.6.3
|
version=3.6.3
|
||||||
|
|
Loading…
Reference in New Issue