package com.nuvole.base.domain;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
|
/**
|
* 实体类对应的数据表为: sys_user
|
* @author system-generator
|
* @date 2019-04-22 14:25:10
|
*/
|
@ApiModel(value ="用户信息")
|
public class SysUser {
|
@ApiModelProperty(value = "用户机构级别")
|
private Integer orgLv;
|
|
@ApiModelProperty(value = "用户机构名称")
|
private String orgName;
|
|
@ApiModelProperty(value = "用户部门名称")
|
private String deptName;
|
|
@ApiModelProperty(value = "ID")
|
private Long id;
|
|
@ApiModelProperty(value = "登录名")
|
private String loginName;
|
|
@ApiModelProperty(value = "密码")
|
private String mixPd;
|
|
@ApiModelProperty(value = "旧密码")
|
private String oldPwd;
|
|
@ApiModelProperty(value = "新密码")
|
private String newPwd;
|
|
@ApiModelProperty(value = "重置密码")
|
private String resultPwd;
|
|
@ApiModelProperty(value = "姓名")
|
private String userName;
|
|
@ApiModelProperty(value = "帐号类型(1 普通用户 ;;2 客户经理)")
|
private Short userType;
|
|
@ApiModelProperty(value = "人员编号")
|
private String userCode;
|
|
@ApiModelProperty(value = "性别[1男,2女]")
|
private Short sex;
|
|
@ApiModelProperty(value = "备注")
|
private String note;
|
|
@ApiModelProperty(value = "手机号码")
|
private String mobile;
|
|
@ApiModelProperty(value = "部门编号")
|
private String deptCode;
|
|
@ApiModelProperty(value = "机构id")
|
private Long orgId;
|
|
@ApiModelProperty(value = "部门ID")
|
private Long deptId;
|
|
@ApiModelProperty(value = "机构编号")
|
private String orgCode;
|
|
@ApiModelProperty(value = "邮箱")
|
private String email;
|
|
@ApiModelProperty(value = "状态(0 禁用,1启用)")
|
private Short state;
|
|
@ApiModelProperty(value = "创建时间")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
@ApiModelProperty(value = "创建人ID")
|
private Long createId;
|
|
@ApiModelProperty(value = "创建人")
|
private String createName;
|
|
@ApiModelProperty(value = "头像")
|
private String headImage;
|
|
@ApiModelProperty(value = "锁定次数")
|
private Short lockTimes;
|
|
@ApiModelProperty(value = "锁定到期日期")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date lockTime;
|
|
public Integer getOrgLv() {
|
return orgLv;
|
}
|
|
public void setOrgLv(Integer orgLv) {
|
this.orgLv = orgLv;
|
}
|
|
public String getOrgName() {
|
return orgName;
|
}
|
|
public void setOrgName(String orgName) {
|
this.orgName = orgName;
|
}
|
|
public String getDeptName() {
|
return deptName;
|
}
|
|
public void setDeptName(String deptName) {
|
this.deptName = deptName;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getLoginName() {
|
return loginName;
|
}
|
|
public void setLoginName(String loginName) {
|
this.loginName = loginName;
|
}
|
|
public String getResultPwd() {
|
return resultPwd;
|
}
|
|
public void setResultPwd(String resultPwd) {
|
this.resultPwd = resultPwd;
|
}
|
|
public String getOldPwd() {
|
return oldPwd;
|
}
|
|
public void setOldPwd(String oldPwd) {
|
this.oldPwd = oldPwd;
|
}
|
|
public String getNewPwd() {
|
return newPwd;
|
}
|
|
public void setNewPwd(String newPwd) {
|
this.newPwd = newPwd;
|
}
|
|
public String getMixPd() {
|
return mixPd;
|
}
|
|
public void setMixPd(String mixPd) {
|
this.mixPd = mixPd;
|
}
|
|
public String getUserName() {
|
return userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
}
|
|
public Short getUserType() {
|
return userType;
|
}
|
|
public void setUserType(Short userType) {
|
this.userType = userType;
|
}
|
|
public String getUserCode() {
|
return userCode;
|
}
|
|
public void setUserCode(String userCode) {
|
this.userCode = userCode;
|
}
|
|
public Short getSex() {
|
return sex;
|
}
|
|
public void setSex(Short sex) {
|
this.sex = sex;
|
}
|
|
public String getNote() {
|
return note;
|
}
|
|
public void setNote(String note) {
|
this.note = note;
|
}
|
|
public String getMobile() {
|
return mobile;
|
}
|
|
public void setMobile(String mobile) {
|
this.mobile = mobile;
|
}
|
|
public String getDeptCode() {
|
return deptCode;
|
}
|
|
public void setDeptCode(String deptCode) {
|
this.deptCode = deptCode;
|
}
|
|
public Long getOrgId() {
|
return orgId;
|
}
|
|
public void setOrgId(Long orgId) {
|
this.orgId = orgId;
|
}
|
|
public Long getDeptId() {
|
return deptId;
|
}
|
|
public void setDeptId(Long deptId) {
|
this.deptId = deptId;
|
}
|
|
public String getOrgCode() {
|
return orgCode;
|
}
|
|
public void setOrgCode(String orgCode) {
|
this.orgCode = orgCode;
|
}
|
|
public String getEmail() {
|
return email;
|
}
|
|
public void setEmail(String email) {
|
this.email = email;
|
}
|
|
public Short getState() {
|
return state;
|
}
|
|
public void setState(Short state) {
|
this.state = state;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Long getCreateId() {
|
return createId;
|
}
|
|
public void setCreateId(Long createId) {
|
this.createId = createId;
|
}
|
|
public String getCreateName() {
|
return createName;
|
}
|
|
public void setCreateName(String createName) {
|
this.createName = createName;
|
}
|
|
public String getHeadImage() {
|
return headImage;
|
}
|
|
public void setHeadImage(String headImage) {
|
this.headImage = headImage;
|
}
|
|
public Short getLockTimes() {
|
return lockTimes;
|
}
|
|
public void setLockTimes(Short lockTimes) {
|
this.lockTimes = lockTimes;
|
}
|
|
public Date getLockTime() {
|
return lockTime;
|
}
|
@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
public void setLockTime(Date lockTime) {
|
this.lockTime = lockTime;
|
}
|
|
private String wxAccount;
|
|
public String getWxAccount() {
|
return wxAccount;
|
}
|
|
public void setWxAccount(String wxAccount) {
|
this.wxAccount = wxAccount;
|
}
|
}
|