|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:FIN_SYS_SERVER *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class FinSysServer extends BasePo<FinSysServer> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long parentId = null;
|
@JsonIgnore
|
protected boolean isset_parentId = false;
|
|
private String name = null;
|
@JsonIgnore
|
protected boolean isset_name = false;
|
|
private String code = null;
|
@JsonIgnore
|
protected boolean isset_code = false;
|
|
private Integer lvType = null;
|
@JsonIgnore
|
protected boolean isset_lvType = false;
|
|
private Long lv = null;
|
@JsonIgnore
|
protected boolean isset_lv = false;
|
|
private Long status = null;
|
@JsonIgnore
|
protected boolean isset_status = false;
|
|
private Long delFlag = null;
|
@JsonIgnore
|
protected boolean isset_delFlag = false;
|
|
private String createdBy = null;
|
@JsonIgnore
|
protected boolean isset_createdBy = false;
|
|
private Long createdTime = null;
|
@JsonIgnore
|
protected boolean isset_createdTime = false;
|
|
private String description = null;
|
@JsonIgnore
|
protected boolean isset_description = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public FinSysServer() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public FinSysServer(Long id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@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 Long getParentId() {
|
return this.parentId;
|
}
|
|
public void setParentId(Long parentId) {
|
this.parentId = parentId;
|
this.isset_parentId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyParentId() {
|
return this.parentId == null;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
this.isset_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyName() {
|
return this.name == null || this.name.length() == 0;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
this.isset_code = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCode() {
|
return this.code == null || this.code.length() == 0;
|
}
|
|
public Integer getLvType() {
|
return this.lvType;
|
}
|
|
public void setLvType(Integer lvType) {
|
this.lvType = lvType;
|
this.isset_lvType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyLvType() {
|
return this.lvType == null;
|
}
|
|
public Long getLv() {
|
return this.lv;
|
}
|
|
public void setLv(Long lv) {
|
this.lv = lv;
|
this.isset_lv = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyLv() {
|
return this.lv == null;
|
}
|
|
public Long getStatus() {
|
return this.status;
|
}
|
|
public void setStatus(Long status) {
|
this.status = status;
|
this.isset_status = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStatus() {
|
return this.status == null;
|
}
|
|
public Long getDelFlag() {
|
return this.delFlag;
|
}
|
|
public void setDelFlag(Long delFlag) {
|
this.delFlag = delFlag;
|
this.isset_delFlag = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDelFlag() {
|
return this.delFlag == null;
|
}
|
|
public String getCreatedBy() {
|
return this.createdBy;
|
}
|
|
public void setCreatedBy(String createdBy) {
|
this.createdBy = createdBy;
|
this.isset_createdBy = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreatedBy() {
|
return this.createdBy == null || this.createdBy.length() == 0;
|
}
|
|
public Long getCreatedTime() {
|
return this.createdTime;
|
}
|
|
public void setCreatedTime(Long createdTime) {
|
this.createdTime = createdTime;
|
this.isset_createdTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreatedTime() {
|
return this.createdTime == null;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
this.isset_description = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDescription() {
|
return this.description == null || this.description.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("parentId=").append(this.parentId)
|
.append("name=").append(this.name)
|
.append("code=").append(this.code)
|
.append("lvType=").append(this.lvType)
|
.append("lv=").append(this.lv)
|
.append("status=").append(this.status)
|
.append("delFlag=").append(this.delFlag)
|
.append("createdBy=").append(this.createdBy)
|
.append("createdTime=").append(this.createdTime)
|
.append("description=").append(this.description)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public FinSysServer $clone() {
|
FinSysServer fin_sys_server = new FinSysServer();
|
|
// 数据库名称
|
//fin_sys_server.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
fin_sys_server.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_parentId) {
|
fin_sys_server.setParentId(this.getParentId());
|
}
|
if (this.isset_name) {
|
fin_sys_server.setName(this.getName());
|
}
|
if (this.isset_code) {
|
fin_sys_server.setCode(this.getCode());
|
}
|
if (this.isset_lvType) {
|
fin_sys_server.setLvType(this.getLvType());
|
}
|
if (this.isset_lv) {
|
fin_sys_server.setLv(this.getLv());
|
}
|
if (this.isset_status) {
|
fin_sys_server.setStatus(this.getStatus());
|
}
|
if (this.isset_delFlag) {
|
fin_sys_server.setDelFlag(this.getDelFlag());
|
}
|
if (this.isset_createdBy) {
|
fin_sys_server.setCreatedBy(this.getCreatedBy());
|
}
|
if (this.isset_createdTime) {
|
fin_sys_server.setCreatedTime(this.getCreatedTime());
|
}
|
if (this.isset_description) {
|
fin_sys_server.setDescription(this.getDescription());
|
}
|
return fin_sys_server;
|
}
|
}
|