|
|
package com.sztzjy.linkCommerce.entity;
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
/**
|
|
|
*
|
|
|
* @author whb
|
|
|
* userinfo
|
|
|
*/
|
|
|
public class Userinfo {
|
|
|
@ApiModelProperty(notes = "用户ID(建议作为主键)")
|
|
|
private String userId;
|
|
|
|
|
|
@ApiModelProperty(notes = "姓名")
|
|
|
private String name;
|
|
|
|
|
|
@ApiModelProperty(notes = "用户名/登录名/学号(老师端为工号)")
|
|
|
private String username;
|
|
|
|
|
|
@ApiModelProperty(notes = "密码(加密存储)")
|
|
|
private String password;
|
|
|
|
|
|
@ApiModelProperty(notes = "性别")
|
|
|
private String sex;
|
|
|
|
|
|
@ApiModelProperty(notes = "手机号")
|
|
|
private String phone;
|
|
|
|
|
|
@ApiModelProperty(notes = "邮箱")
|
|
|
private String email;
|
|
|
|
|
|
@ApiModelProperty(notes = "头像图片地址")
|
|
|
private String headimg;
|
|
|
|
|
|
@ApiModelProperty(notes = "禁用状态:0-正常 1-禁用")
|
|
|
private Boolean disabledstatus;
|
|
|
|
|
|
@ApiModelProperty(notes = "微信号")
|
|
|
private String wxcode;
|
|
|
|
|
|
@ApiModelProperty(notes = "登录次数统计")
|
|
|
private Integer loginCount;
|
|
|
|
|
|
@ApiModelProperty(notes = "创建时间")
|
|
|
private Date createTime;
|
|
|
|
|
|
@ApiModelProperty(notes = "上次登录时间")
|
|
|
private Date lastLoginTime;
|
|
|
|
|
|
@ApiModelProperty(notes = "学习时长(单位:分钟)")
|
|
|
private Integer studyTime;
|
|
|
|
|
|
@ApiModelProperty(notes = "账号来源")
|
|
|
private String codeFrom;
|
|
|
|
|
|
@ApiModelProperty(notes = "权限:1-超管 2-学校管理员 3-老师 4-学生")
|
|
|
private Integer role;
|
|
|
|
|
|
@ApiModelProperty(notes = "学校ID(关联学校表)")
|
|
|
private String schoolId;
|
|
|
|
|
|
@ApiModelProperty(notes = "院系ID(关联院系表)")
|
|
|
private String schoolFacultyId;
|
|
|
|
|
|
@ApiModelProperty(notes = "专业ID(关联专业表)")
|
|
|
private String schoolMajorId;
|
|
|
|
|
|
@ApiModelProperty(notes = "班级ID(关联班级表,教师账号为null)")
|
|
|
private String schoolClassId;
|
|
|
|
|
|
public String getUserId() {
|
|
|
return userId;
|
|
|
}
|
|
|
|
|
|
public void setUserId(String userId) {
|
|
|
this.userId = userId == null ? null : userId.trim();
|
|
|
}
|
|
|
|
|
|
public String getName() {
|
|
|
return name;
|
|
|
}
|
|
|
|
|
|
public void setName(String name) {
|
|
|
this.name = name == null ? null : name.trim();
|
|
|
}
|
|
|
|
|
|
public String getUsername() {
|
|
|
return username;
|
|
|
}
|
|
|
|
|
|
public void setUsername(String username) {
|
|
|
this.username = username == null ? null : username.trim();
|
|
|
}
|
|
|
|
|
|
public String getPassword() {
|
|
|
return password;
|
|
|
}
|
|
|
|
|
|
public void setPassword(String password) {
|
|
|
this.password = password == null ? null : password.trim();
|
|
|
}
|
|
|
|
|
|
public String getSex() {
|
|
|
return sex;
|
|
|
}
|
|
|
|
|
|
public void setSex(String sex) {
|
|
|
this.sex = sex == null ? null : sex.trim();
|
|
|
}
|
|
|
|
|
|
public String getPhone() {
|
|
|
return phone;
|
|
|
}
|
|
|
|
|
|
public void setPhone(String phone) {
|
|
|
this.phone = phone == null ? null : phone.trim();
|
|
|
}
|
|
|
|
|
|
public String getEmail() {
|
|
|
return email;
|
|
|
}
|
|
|
|
|
|
public void setEmail(String email) {
|
|
|
this.email = email == null ? null : email.trim();
|
|
|
}
|
|
|
|
|
|
public String getHeadimg() {
|
|
|
return headimg;
|
|
|
}
|
|
|
|
|
|
public void setHeadimg(String headimg) {
|
|
|
this.headimg = headimg == null ? null : headimg.trim();
|
|
|
}
|
|
|
|
|
|
public Boolean getDisabledstatus() {
|
|
|
return disabledstatus;
|
|
|
}
|
|
|
|
|
|
public void setDisabledstatus(Boolean disabledstatus) {
|
|
|
this.disabledstatus = disabledstatus;
|
|
|
}
|
|
|
|
|
|
public String getWxcode() {
|
|
|
return wxcode;
|
|
|
}
|
|
|
|
|
|
public void setWxcode(String wxcode) {
|
|
|
this.wxcode = wxcode == null ? null : wxcode.trim();
|
|
|
}
|
|
|
|
|
|
public Integer getLoginCount() {
|
|
|
return loginCount;
|
|
|
}
|
|
|
|
|
|
public void setLoginCount(Integer loginCount) {
|
|
|
this.loginCount = loginCount;
|
|
|
}
|
|
|
|
|
|
public Date getCreateTime() {
|
|
|
return createTime;
|
|
|
}
|
|
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
this.createTime = createTime;
|
|
|
}
|
|
|
|
|
|
public Date getLastLoginTime() {
|
|
|
return lastLoginTime;
|
|
|
}
|
|
|
|
|
|
public void setLastLoginTime(Date lastLoginTime) {
|
|
|
this.lastLoginTime = lastLoginTime;
|
|
|
}
|
|
|
|
|
|
public Integer getStudyTime() {
|
|
|
return studyTime;
|
|
|
}
|
|
|
|
|
|
public void setStudyTime(Integer studyTime) {
|
|
|
this.studyTime = studyTime;
|
|
|
}
|
|
|
|
|
|
public String getCodeFrom() {
|
|
|
return codeFrom;
|
|
|
}
|
|
|
|
|
|
public void setCodeFrom(String codeFrom) {
|
|
|
this.codeFrom = codeFrom == null ? null : codeFrom.trim();
|
|
|
}
|
|
|
|
|
|
public Integer getRole() {
|
|
|
return role;
|
|
|
}
|
|
|
|
|
|
public void setRole(Integer role) {
|
|
|
this.role = role;
|
|
|
}
|
|
|
|
|
|
public String getSchoolId() {
|
|
|
return schoolId;
|
|
|
}
|
|
|
|
|
|
public void setSchoolId(String schoolId) {
|
|
|
this.schoolId = schoolId == null ? null : schoolId.trim();
|
|
|
}
|
|
|
|
|
|
public String getSchoolFacultyId() {
|
|
|
return schoolFacultyId;
|
|
|
}
|
|
|
|
|
|
public void setSchoolFacultyId(String schoolFacultyId) {
|
|
|
this.schoolFacultyId = schoolFacultyId == null ? null : schoolFacultyId.trim();
|
|
|
}
|
|
|
|
|
|
public String getSchoolMajorId() {
|
|
|
return schoolMajorId;
|
|
|
}
|
|
|
|
|
|
public void setSchoolMajorId(String schoolMajorId) {
|
|
|
this.schoolMajorId = schoolMajorId == null ? null : schoolMajorId.trim();
|
|
|
}
|
|
|
|
|
|
public String getSchoolClassId() {
|
|
|
return schoolClassId;
|
|
|
}
|
|
|
|
|
|
public void setSchoolClassId(String schoolClassId) {
|
|
|
this.schoolClassId = schoolClassId == null ? null : schoolClassId.trim();
|
|
|
}
|
|
|
} |