|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
import java.util.List;
|
|
/**
|
* 表名:FIN_SYS_TENANT_USER *
|
*
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class FinSysTenantUser extends BasePo<FinSysTenantUser> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private String userName = null;
|
@JsonIgnore
|
protected boolean isset_userName = false;
|
|
private String userCode = null;
|
@JsonIgnore
|
protected boolean isset_userCode = false;
|
|
private String tenantId = null;
|
@JsonIgnore
|
protected boolean isset_tenantId = false;
|
|
private String createBy = null;
|
@JsonIgnore
|
protected boolean isset_createBy = false;
|
|
private Long createTime = null;
|
@JsonIgnore
|
protected boolean isset_createTime = false;
|
|
private String updateBy = null;
|
@JsonIgnore
|
protected boolean isset_updateBy = false;
|
|
private Long updateTime = null;
|
@JsonIgnore
|
protected boolean isset_updateTime = false;
|
|
private Integer sex = null;
|
@JsonIgnore
|
protected boolean isset_sex = false;
|
|
private Integer status = null;
|
@JsonIgnore
|
protected boolean isset_status = false;
|
|
private Long seq = null;
|
@JsonIgnore
|
protected boolean isset_seq = false;
|
|
private String remark = null;
|
@JsonIgnore
|
protected boolean isset_remark = false;
|
|
private Long sysUserId = null;
|
@JsonIgnore
|
protected boolean isset_sysUserId = false;
|
|
private Long sysDeptId = null;
|
@JsonIgnore
|
protected boolean isset_sysDeptId = false;
|
|
private String tenantCode = null;
|
@JsonIgnore
|
protected boolean isset_tenantCode = false;
|
|
private String userPhone = null;
|
@JsonIgnore
|
protected boolean isset_userPhone = false;
|
|
private Integer isDelete = null;
|
@JsonIgnore
|
protected boolean isset_isDelete = false;
|
|
private Integer kfStatus = null;
|
@JsonIgnore
|
protected boolean isset_kfStatus = false;
|
|
private String agentJid = null;
|
@JsonIgnore
|
protected boolean isset_agentJid = false;
|
|
private String workgroupJid = null;
|
@JsonIgnore
|
protected boolean isset_workgroupJid = false;
|
|
private String clientNumber = null;
|
@JsonIgnore
|
protected boolean isset_clientNumber = false;
|
|
private String clientPwd = null;
|
@JsonIgnore
|
protected boolean isset_clientPwd = false;
|
|
private Long supplierId = null;
|
|
@JsonIgnore
|
protected boolean isset_supplierId = false;
|
|
private String tenantName = null;
|
@JsonIgnore
|
protected boolean isset_tenantName = false;
|
|
private Integer lv = null;
|
@JsonIgnore
|
protected boolean isset_lv = false;
|
|
private String roleStr = null;
|
@JsonIgnore
|
protected boolean isset_roleStr = false;
|
|
private String avatar = null;
|
@JsonIgnore
|
protected boolean isset_avatar = false;
|
public String getAvatar() {
|
return avatar;
|
}
|
private String email = null;
|
@JsonIgnore
|
protected boolean isset_email = false;
|
|
public void setAvatar(String avatar) {
|
this.avatar = avatar;
|
this.isset_avatar = true;
|
}
|
|
public String getEmail() {
|
return email;
|
}
|
|
public void setEmail(String email) {
|
this.email = email;
|
this.isset_email = true;
|
}
|
|
public Long getSupplierId() {
|
return supplierId;
|
}
|
|
public void setSupplierId(Long supplierId) {
|
this.supplierId = supplierId;
|
this.isset_supplierId=true;
|
}
|
|
private List<Long> roleList = null;
|
|
|
|
public List<Long> getRoleList() {
|
return roleList;
|
}
|
|
public void setRoleList(List<Long> roleList) {
|
this.roleList = roleList;
|
}
|
|
private Boolean isOnline = null;
|
@JsonIgnore
|
protected boolean isset_isOnline = false;
|
|
private String parentCode = null;
|
@JsonIgnore
|
protected boolean isset_parentCode = false;
|
|
private String isSupplier; //是否为运维商 如果有运维商id 则代表是,反之不是
|
|
public String getIsSupplier() {
|
return isSupplier;
|
}
|
|
public void setIsSupplier(String isSupplier) {
|
this.isSupplier = isSupplier;
|
}
|
|
/**
|
* 默认构造函数
|
*/
|
public FinSysTenantUser() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public FinSysTenantUser(Long id) {
|
this.setId(id);
|
}
|
|
/**
|
* @Description 根据用户id构建对象
|
* @Author wh
|
* @Date 2023/7/18 10:57
|
*/
|
public FinSysTenantUser(Long sysUserId, Long seq) {
|
this.sysUserId = sysUserId;
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((Long) value);
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null;
|
}
|
|
public String getUserName() {
|
return this.userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
this.isset_userName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUserName() {
|
return this.userName == null || this.userName.length() == 0;
|
}
|
|
public String getUserCode() {
|
return this.userCode;
|
}
|
|
public void setUserCode(String userCode) {
|
this.userCode = userCode;
|
this.isset_userCode = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUserCode() {
|
return this.userCode == null || this.userCode.length() == 0;
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public void setTenantId(String tenantId) {
|
this.tenantId = tenantId;
|
this.isset_tenantId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTenantId() {
|
return this.tenantId == null || this.tenantId.length() == 0;
|
}
|
|
public String getCreateBy() {
|
return this.createBy;
|
}
|
|
public void setCreateBy(String createBy) {
|
this.createBy = createBy;
|
this.isset_createBy = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreateBy() {
|
return this.createBy == null || this.createBy.length() == 0;
|
}
|
|
public Long getCreateTime() {
|
return this.createTime;
|
}
|
|
public void setCreateTime(Long createTime) {
|
this.createTime = createTime;
|
this.isset_createTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreateTime() {
|
return this.createTime == null;
|
}
|
|
public String getUpdateBy() {
|
return this.updateBy;
|
}
|
|
public void setUpdateBy(String updateBy) {
|
this.updateBy = updateBy;
|
this.isset_updateBy = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUpdateBy() {
|
return this.updateBy == null || this.updateBy.length() == 0;
|
}
|
|
public Long getUpdateTime() {
|
return this.updateTime;
|
}
|
|
public void setUpdateTime(Long updateTime) {
|
this.updateTime = updateTime;
|
this.isset_updateTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUpdateTime() {
|
return this.updateTime == null;
|
}
|
|
public Integer getSex() {
|
return this.sex;
|
}
|
|
public void setSex(Integer sex) {
|
this.sex = sex;
|
this.isset_sex = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySex() {
|
return this.sex == null;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
this.isset_status = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStatus() {
|
return this.status == null;
|
}
|
|
public Long getSeq() {
|
return this.seq;
|
}
|
|
public void setSeq(Long seq) {
|
this.seq = seq;
|
this.isset_seq = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySeq() {
|
return this.seq == null;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
this.isset_remark = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyRemark() {
|
return this.remark == null || this.remark.length() == 0;
|
}
|
|
public Long getSysUserId() {
|
return this.sysUserId;
|
}
|
|
public void setSysUserId(Long sysUserId) {
|
this.sysUserId = sysUserId;
|
this.isset_sysUserId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySysUserId() {
|
return this.sysUserId == null;
|
}
|
|
public Long getSysDeptId() {
|
return this.sysDeptId;
|
}
|
|
public void setSysDeptId(Long sysDeptId) {
|
this.sysDeptId = sysDeptId;
|
this.isset_sysDeptId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySysDeptId() {
|
return this.sysDeptId == null;
|
}
|
|
public String getTenantCode() {
|
return this.tenantCode;
|
}
|
|
public void setTenantCode(String tenantCode) {
|
this.tenantCode = tenantCode;
|
this.isset_tenantCode = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTenantCode() {
|
return this.tenantCode == null || this.tenantCode.length() == 0;
|
}
|
|
public String getUserPhone() {
|
return this.userPhone;
|
}
|
|
public void setUserPhone(String userPhone) {
|
this.userPhone = userPhone;
|
this.isset_userPhone = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUserPhone() {
|
return this.userPhone == null || this.userPhone.length() == 0;
|
}
|
|
public Integer getIsDelete() {
|
return this.isDelete;
|
}
|
|
public void setIsDelete(Integer isDelete) {
|
this.isDelete = isDelete;
|
this.isset_isDelete = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsDelete() {
|
return this.isDelete == null;
|
}
|
|
public Integer getKfStatus() {
|
return this.kfStatus;
|
}
|
|
public void setKfStatus(Integer kfStatus) {
|
this.kfStatus = kfStatus;
|
this.isset_kfStatus = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyKfStatus() {
|
return this.kfStatus == null;
|
}
|
|
public String getAgentJid() {
|
return this.agentJid;
|
}
|
|
public void setAgentJid(String agentJid) {
|
this.agentJid = agentJid;
|
this.isset_agentJid = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAgentJid() {
|
return this.agentJid == null || this.agentJid.length() == 0;
|
}
|
|
public String getWorkgroupJid() {
|
return this.workgroupJid;
|
}
|
|
public void setWorkgroupJid(String workgroupJid) {
|
this.workgroupJid = workgroupJid;
|
this.isset_workgroupJid = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyWorkgroupJid() {
|
return this.workgroupJid == null || this.workgroupJid.length() == 0;
|
}
|
|
public String getClientNumber() {
|
return this.clientNumber;
|
}
|
|
public void setClientNumber(String clientNumber) {
|
this.clientNumber = clientNumber;
|
this.isset_clientNumber = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyClientNumber() {
|
return this.clientNumber == null || this.clientNumber.length() == 0;
|
}
|
|
public String getClientPwd() {
|
return this.clientPwd;
|
}
|
|
public void setClientPwd(String clientPwd) {
|
this.clientPwd = clientPwd;
|
this.isset_clientPwd = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyClientPwd() {
|
return this.clientPwd == null || this.clientPwd.length() == 0;
|
}
|
|
public String getTenantName() {
|
return this.tenantName;
|
}
|
|
public void setTenantName(String tenantName) {
|
this.tenantName = tenantName;
|
this.isset_tenantName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTenantName() {
|
return this.tenantName == null || this.tenantName.length() == 0;
|
}
|
|
public Integer getLv() {
|
return this.lv;
|
}
|
|
public void setLv(Integer lv) {
|
this.lv = lv;
|
this.isset_lv = true;
|
}
|
|
public Boolean getIsOnline() {
|
return this.isOnline;
|
}
|
|
public void setIsOnline(Boolean isOnline) {
|
this.isOnline = isOnline;
|
this.isset_isOnline = true;
|
}
|
|
public String getParentCode() {
|
return this.parentCode;
|
}
|
|
public void setParentCode(String parentCode) {
|
this.parentCode = parentCode;
|
this.isset_parentCode = true;
|
}
|
|
|
|
//roleStr
|
@JsonIgnore
|
public boolean isEmptRoleStr() {
|
return this.roleStr == null;
|
}
|
|
|
public String getRoleStr() {
|
return this.roleStr;
|
}
|
|
public void setRoleStr(String roleStr) {
|
this.roleStr = roleStr;
|
this.isset_roleStr = true;
|
}
|
|
|
|
@JsonIgnore
|
public boolean isEmptLv() {
|
return this.lv == null;
|
}
|
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("userName=").append(this.userName)
|
.append("userCode=").append(this.userCode)
|
.append("tenantId=").append(this.tenantId)
|
.append("createBy=").append(this.createBy)
|
.append("createTime=").append(this.createTime)
|
.append("updateBy=").append(this.updateBy)
|
.append("updateTime=").append(this.updateTime)
|
.append("sex=").append(this.sex)
|
.append("status=").append(this.status)
|
.append("seq=").append(this.seq)
|
.append("remark=").append(this.remark)
|
.append("sysUserId=").append(this.sysUserId)
|
.append("sysDeptId=").append(this.sysDeptId)
|
.append("tenantCode=").append(this.tenantCode)
|
.append("userPhone=").append(this.userPhone)
|
.append("isDelete=").append(this.isDelete)
|
.append("kfStatus=").append(this.kfStatus)
|
.append("agentJid=").append(this.agentJid)
|
.append("workgroupJid=").append(this.workgroupJid)
|
.append("clientNumber=").append(this.clientNumber)
|
.append("clientPwd=").append(this.clientPwd)
|
.append("tenantName=").append(this.tenantName)
|
.append("lv=").append(this.lv)
|
.append("isOnline=").append(this.isOnline)
|
.append("parentCode=").append(this.parentCode)
|
.append("supplierId=").append(this.supplierId)
|
.append("roleStr=").append(this.roleStr)
|
|
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public FinSysTenantUser $clone() {
|
FinSysTenantUser fin_sys_tenant_user = new FinSysTenantUser();
|
|
// 数据库名称
|
//fin_sys_tenant_user.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
fin_sys_tenant_user.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_userName) {
|
fin_sys_tenant_user.setUserName(this.getUserName());
|
}
|
if (this.isset_avatar) {
|
fin_sys_tenant_user.setAvatar(this.getAvatar());
|
}
|
if (this.isset_email) {
|
fin_sys_tenant_user.setEmail(this.getEmail());
|
}
|
if (this.isset_userCode) {
|
fin_sys_tenant_user.setUserCode(this.getUserCode());
|
}
|
if (this.isset_tenantId) {
|
fin_sys_tenant_user.setTenantId(this.getTenantId());
|
}
|
if (this.isset_createBy) {
|
fin_sys_tenant_user.setCreateBy(this.getCreateBy());
|
}
|
if (this.isset_createTime) {
|
fin_sys_tenant_user.setCreateTime(this.getCreateTime());
|
}
|
if (this.isset_updateBy) {
|
fin_sys_tenant_user.setUpdateBy(this.getUpdateBy());
|
}
|
if (this.isset_updateTime) {
|
fin_sys_tenant_user.setUpdateTime(this.getUpdateTime());
|
}
|
if (this.isset_sex) {
|
fin_sys_tenant_user.setSex(this.getSex());
|
}
|
if (this.isset_status) {
|
fin_sys_tenant_user.setStatus(this.getStatus());
|
}
|
if (this.isset_seq) {
|
fin_sys_tenant_user.setSeq(this.getSeq());
|
}
|
if (this.isset_remark) {
|
fin_sys_tenant_user.setRemark(this.getRemark());
|
}
|
if (this.isset_sysUserId) {
|
fin_sys_tenant_user.setSysUserId(this.getSysUserId());
|
}
|
if (this.isset_sysDeptId) {
|
fin_sys_tenant_user.setSysDeptId(this.getSysDeptId());
|
}
|
if (this.isset_tenantCode) {
|
fin_sys_tenant_user.setTenantCode(this.getTenantCode());
|
}
|
if (this.isset_userPhone) {
|
fin_sys_tenant_user.setUserPhone(this.getUserPhone());
|
}
|
if (this.isset_isDelete) {
|
fin_sys_tenant_user.setIsDelete(this.getIsDelete());
|
}
|
if (this.isset_kfStatus) {
|
fin_sys_tenant_user.setKfStatus(this.getKfStatus());
|
}
|
if (this.isset_agentJid) {
|
fin_sys_tenant_user.setAgentJid(this.getAgentJid());
|
}
|
if (this.isset_workgroupJid) {
|
fin_sys_tenant_user.setWorkgroupJid(this.getWorkgroupJid());
|
}
|
if (this.isset_clientNumber) {
|
fin_sys_tenant_user.setClientNumber(this.getClientNumber());
|
}
|
if (this.isset_clientPwd) {
|
fin_sys_tenant_user.setClientPwd(this.getClientPwd());
|
}
|
if (this.isset_tenantName) {
|
fin_sys_tenant_user.setTenantName(this.getTenantName());
|
}
|
if (this.isset_lv) {
|
fin_sys_tenant_user.setLv(this.getLv());
|
}
|
if (this.isset_isOnline) {
|
fin_sys_tenant_user.setIsOnline(this.getIsOnline());
|
}
|
if (this.isset_parentCode) {
|
fin_sys_tenant_user.setParentCode(this.getParentCode());
|
}
|
if (this.isset_supplierId) {
|
fin_sys_tenant_user.setSupplierId(this.getSupplierId());
|
}
|
if (this.isset_roleStr) {
|
fin_sys_tenant_user.setRoleStr(this.getRoleStr());
|
}
|
|
|
|
|
return fin_sys_tenant_user;
|
}
|
}
|