package com.highdatas.srs.entity;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author kimi
|
* @since 2020-01-15
|
*/
|
@TableName("sys_user")
|
public class SysUser extends Model<SysUser> {
|
|
private static final long serialVersionUID = 1L;
|
|
private String id;
|
|
private String name;
|
|
@TableField("login_name")
|
private String loginName;
|
|
private String password;
|
|
private String active;
|
|
private String orgid;
|
|
private String employeeid;
|
private transient String roleName;
|
|
public String getRoleName() {
|
return roleName;
|
}
|
|
public void setRoleName(String roleName) {
|
this.roleName = roleName;
|
}
|
|
public String getLoginName() {
|
return loginName;
|
}
|
|
public SysUser setLoginName(String loginName) {
|
this.loginName = loginName;
|
return this;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public SysUser setId(String id) {
|
this.id = id;
|
return this;
|
}
|
public String getName() {
|
return name;
|
}
|
|
public SysUser setName(String name) {
|
this.name = name;
|
return this;
|
}
|
public String getPassword() {
|
return password;
|
}
|
|
public SysUser setPassword(String password) {
|
this.password = password;
|
return this;
|
}
|
public String getActive() {
|
return active;
|
}
|
|
public SysUser setActive(String active) {
|
this.active = active;
|
return this;
|
}
|
public String getOrgid() {
|
return orgid;
|
}
|
|
public SysUser setOrgid(String orgid) {
|
this.orgid = orgid;
|
return this;
|
}
|
public String getEmployeeid() {
|
return employeeid;
|
}
|
|
public SysUser setEmployeeid(String employeeid) {
|
this.employeeid = employeeid;
|
return this;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public int hashCode() {
|
return this.id.hashCode();
|
}
|
|
@Override
|
public String toString() {
|
return "SysUser{" +
|
"id=" + id +
|
", name=" + name +
|
", password=" + password +
|
", active=" + active +
|
", orgid=" + orgid +
|
", employeeid=" + employeeid +
|
"}";
|
}
|
}
|