package com.consum.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:FIN_SYS_TENANT * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class FinSysTenant extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private Long tempId = null; @JsonIgnore protected boolean isset_tempId = false; // 属性列表 private Long id = null; @JsonIgnore protected boolean isset_id = false; private Long parentId = null; @JsonIgnore protected boolean isset_parentId = false; private String code = null; @JsonIgnore protected boolean isset_code = false; private String financeOrgCode = null; @JsonIgnore protected boolean isset_financeOrgCode = false; private String name = null; @JsonIgnore protected boolean isset_name = false; private Long lv1Id = null; @JsonIgnore protected boolean isset_lv1Id = false; private String lv1Name = null; @JsonIgnore protected boolean isset_lv1Name = false; private Long lv2Id = null; @JsonIgnore protected boolean isset_lv2Id = false; private String lv2Name = null; @JsonIgnore protected boolean isset_lv2Name = false; private Long lv3Id = null; @JsonIgnore protected boolean isset_lv3Id = false; private String lv3Name = null; @JsonIgnore protected boolean isset_lv3Name = false; private Long lv4Id = null; @JsonIgnore protected boolean isset_lv4Id = false; private String lv4Name = null; @JsonIgnore protected boolean isset_lv4Name = false; private Long lv5Id = null; @JsonIgnore protected boolean isset_lv5Id = false; private String lv5Name = null; @JsonIgnore protected boolean isset_lv5Name = false; private Integer lv = null; @JsonIgnore protected boolean isset_lv = false; private Integer orderNum = null; @JsonIgnore protected boolean isset_orderNum = false; private java.util.Date createTime3 = null; @JsonIgnore protected boolean isset_createTime3 = false; private java.util.Date modified = null; @JsonIgnore protected boolean isset_modified = false; private String summary = null; @JsonIgnore protected boolean isset_summary = false; private String address = null; @JsonIgnore protected boolean isset_address = false; private String lng = null; @JsonIgnore protected boolean isset_lng = false; private String lat = null; @JsonIgnore protected boolean isset_lat = false; private Integer openStatus = null; @JsonIgnore protected boolean isset_openStatus = false; private java.util.Date openTime = null; @JsonIgnore protected boolean isset_openTime = false; private Integer status = null; @JsonIgnore protected boolean isset_status = false; private Integer isDelete = null; @JsonIgnore protected boolean isset_isDelete = false; private String path = null; @JsonIgnore protected boolean isset_path = false; private String venueName = null; @JsonIgnore protected boolean isset_venueName = false; private Long cityId = null; @JsonIgnore protected boolean isset_cityId = false; private String orgPhoto = null; @JsonIgnore protected boolean isset_orgPhoto = false; private String shortName = null; @JsonIgnore protected boolean isset_shortName = false; private Integer tenantType = null; @JsonIgnore protected boolean isset_tenantType = 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 belongProvince = null; @JsonIgnore protected boolean isset_belongProvince = false; /** * 默认构造函数 */ public FinSysTenant() { } /** * 根据主键构造对象 */ public FinSysTenant(Long tempId) { this.setTempId(tempId); } /** * 设置主键值 */ @Override public void setPkValue(Object value) { this.setTempId((Long) value); } public Long getTempId() { return this.tempId; } public void setTempId(Long tempId) { this.tempId = tempId; this.isset_tempId = true; } @JsonIgnore public boolean isEmptyTempId() { return this.tempId == null; } 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 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 String getFinanceOrgCode() { return this.financeOrgCode; } public void setFinanceOrgCode(String financeOrgCode) { this.financeOrgCode = financeOrgCode; this.isset_financeOrgCode = true; } @JsonIgnore public boolean isEmptyFinanceOrgCode() { return this.financeOrgCode == null || this.financeOrgCode.length() == 0; } 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 Long getLv1Id() { return this.lv1Id; } public void setLv1Id(Long lv1Id) { this.lv1Id = lv1Id; this.isset_lv1Id = true; } @JsonIgnore public boolean isEmptyLv1Id() { return this.lv1Id == null; } public String getLv1Name() { return this.lv1Name; } public void setLv1Name(String lv1Name) { this.lv1Name = lv1Name; this.isset_lv1Name = true; } @JsonIgnore public boolean isEmptyLv1Name() { return this.lv1Name == null || this.lv1Name.length() == 0; } public Long getLv2Id() { return this.lv2Id; } public void setLv2Id(Long lv2Id) { this.lv2Id = lv2Id; this.isset_lv2Id = true; } @JsonIgnore public boolean isEmptyLv2Id() { return this.lv2Id == null; } public String getLv2Name() { return this.lv2Name; } public void setLv2Name(String lv2Name) { this.lv2Name = lv2Name; this.isset_lv2Name = true; } @JsonIgnore public boolean isEmptyLv2Name() { return this.lv2Name == null || this.lv2Name.length() == 0; } public Long getLv3Id() { return this.lv3Id; } public void setLv3Id(Long lv3Id) { this.lv3Id = lv3Id; this.isset_lv3Id = true; } @JsonIgnore public boolean isEmptyLv3Id() { return this.lv3Id == null; } public String getLv3Name() { return this.lv3Name; } public void setLv3Name(String lv3Name) { this.lv3Name = lv3Name; this.isset_lv3Name = true; } @JsonIgnore public boolean isEmptyLv3Name() { return this.lv3Name == null || this.lv3Name.length() == 0; } public Long getLv4Id() { return this.lv4Id; } public void setLv4Id(Long lv4Id) { this.lv4Id = lv4Id; this.isset_lv4Id = true; } @JsonIgnore public boolean isEmptyLv4Id() { return this.lv4Id == null; } public String getLv4Name() { return this.lv4Name; } public void setLv4Name(String lv4Name) { this.lv4Name = lv4Name; this.isset_lv4Name = true; } @JsonIgnore public boolean isEmptyLv4Name() { return this.lv4Name == null || this.lv4Name.length() == 0; } public Long getLv5Id() { return this.lv5Id; } public void setLv5Id(Long lv5Id) { this.lv5Id = lv5Id; this.isset_lv5Id = true; } @JsonIgnore public boolean isEmptyLv5Id() { return this.lv5Id == null; } public String getLv5Name() { return this.lv5Name; } public void setLv5Name(String lv5Name) { this.lv5Name = lv5Name; this.isset_lv5Name = true; } @JsonIgnore public boolean isEmptyLv5Name() { return this.lv5Name == null || this.lv5Name.length() == 0; } public Integer getLv() { return this.lv; } public void setLv(Integer lv) { this.lv = lv; this.isset_lv = true; } @JsonIgnore public boolean isEmptyLv() { return this.lv == null; } public Integer getOrderNum() { return this.orderNum; } public void setOrderNum(Integer orderNum) { this.orderNum = orderNum; this.isset_orderNum = true; } @JsonIgnore public boolean isEmptyOrderNum() { return this.orderNum == null; } public java.util.Date getCreateTime3() { return this.createTime3; } public void setCreateTime3(java.util.Date createTime3) { this.createTime3 = createTime3; this.isset_createTime3 = true; } @JsonIgnore public boolean isEmptyCreateTime3() { return this.createTime3 == null; } public java.util.Date getModified() { return this.modified; } public void setModified(java.util.Date modified) { this.modified = modified; this.isset_modified = true; } @JsonIgnore public boolean isEmptyModified() { return this.modified == null; } public String getSummary() { return this.summary; } public void setSummary(String summary) { this.summary = summary; this.isset_summary = true; } @JsonIgnore public boolean isEmptySummary() { return this.summary == null || this.summary.length() == 0; } public String getAddress() { return this.address; } public void setAddress(String address) { this.address = address; this.isset_address = true; } @JsonIgnore public boolean isEmptyAddress() { return this.address == null || this.address.length() == 0; } public String getLng() { return this.lng; } public void setLng(String lng) { this.lng = lng; this.isset_lng = true; } @JsonIgnore public boolean isEmptyLng() { return this.lng == null || this.lng.length() == 0; } public String getLat() { return this.lat; } public void setLat(String lat) { this.lat = lat; this.isset_lat = true; } @JsonIgnore public boolean isEmptyLat() { return this.lat == null || this.lat.length() == 0; } public Integer getOpenStatus() { return this.openStatus; } public void setOpenStatus(Integer openStatus) { this.openStatus = openStatus; this.isset_openStatus = true; } @JsonIgnore public boolean isEmptyOpenStatus() { return this.openStatus == null; } public java.util.Date getOpenTime() { return this.openTime; } public void setOpenTime(java.util.Date openTime) { this.openTime = openTime; this.isset_openTime = true; } @JsonIgnore public boolean isEmptyOpenTime() { return this.openTime == 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 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 String getPath() { return this.path; } public void setPath(String path) { this.path = path; this.isset_path = true; } @JsonIgnore public boolean isEmptyPath() { return this.path == null || this.path.length() == 0; } public String getVenueName() { return this.venueName; } public void setVenueName(String venueName) { this.venueName = venueName; this.isset_venueName = true; } @JsonIgnore public boolean isEmptyVenueName() { return this.venueName == null || this.venueName.length() == 0; } public Long getCityId() { return this.cityId; } public void setCityId(Long cityId) { this.cityId = cityId; this.isset_cityId = true; } @JsonIgnore public boolean isEmptyCityId() { return this.cityId == null; } public String getOrgPhoto() { return this.orgPhoto; } public void setOrgPhoto(String orgPhoto) { this.orgPhoto = orgPhoto; this.isset_orgPhoto = true; } @JsonIgnore public boolean isEmptyOrgPhoto() { return this.orgPhoto == null || this.orgPhoto.length() == 0; } public String getShortName() { return this.shortName; } public void setShortName(String shortName) { this.shortName = shortName; this.isset_shortName = true; } @JsonIgnore public boolean isEmptyShortName() { return this.shortName == null || this.shortName.length() == 0; } public Integer getTenantType() { return this.tenantType; } public void setTenantType(Integer tenantType) { this.tenantType = tenantType; this.isset_tenantType = true; } @JsonIgnore public boolean isEmptyTenantType() { return this.tenantType == null; } 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 getBelongProvince() { return this.belongProvince; } public void setBelongProvince(Integer belongProvince) { this.belongProvince = belongProvince; this.isset_belongProvince = true; } @JsonIgnore public boolean isEmptyBelongProvince() { return this.belongProvince == null; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("tempId=").append(this.tempId) .append("id=").append(this.id) .append("parentId=").append(this.parentId) .append("code=").append(this.code) .append("financeOrgCode=").append(this.financeOrgCode) .append("name=").append(this.name) .append("lv1Id=").append(this.lv1Id) .append("lv1Name=").append(this.lv1Name) .append("lv2Id=").append(this.lv2Id) .append("lv2Name=").append(this.lv2Name) .append("lv3Id=").append(this.lv3Id) .append("lv3Name=").append(this.lv3Name) .append("lv4Id=").append(this.lv4Id) .append("lv4Name=").append(this.lv4Name) .append("lv5Id=").append(this.lv5Id) .append("lv5Name=").append(this.lv5Name) .append("lv=").append(this.lv) .append("orderNum=").append(this.orderNum) .append("createTime3=").append(this.createTime3) .append("modified=").append(this.modified) .append("summary=").append(this.summary) .append("address=").append(this.address) .append("lng=").append(this.lng) .append("lat=").append(this.lat) .append("openStatus=").append(this.openStatus) .append("openTime=").append(this.openTime) .append("status=").append(this.status) .append("isDelete=").append(this.isDelete) .append("path=").append(this.path) .append("venueName=").append(this.venueName) .append("cityId=").append(this.cityId) .append("orgPhoto=").append(this.orgPhoto) .append("shortName=").append(this.shortName) .append("tenantType=").append(this.tenantType) .append("createBy=").append(this.createBy) .append("createTime=").append(this.createTime) .append("updateBy=").append(this.updateBy) .append("updateTime=").append(this.updateTime) .append("belongProvince=").append(this.belongProvince) .toString(); } /** * 克隆 */ public FinSysTenant $clone() { FinSysTenant fin_sys_tenant = new FinSysTenant(); // 数据库名称 //fin_sys_tenant.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_tempId) { fin_sys_tenant.setTempId(this.getTempId()); } // 普通属性 if (this.isset_id) { fin_sys_tenant.setId(this.getId()); } if (this.isset_parentId) { fin_sys_tenant.setParentId(this.getParentId()); } if (this.isset_code) { fin_sys_tenant.setCode(this.getCode()); } if (this.isset_financeOrgCode) { fin_sys_tenant.setFinanceOrgCode(this.getFinanceOrgCode()); } if (this.isset_name) { fin_sys_tenant.setName(this.getName()); } if (this.isset_lv1Id) { fin_sys_tenant.setLv1Id(this.getLv1Id()); } if (this.isset_lv1Name) { fin_sys_tenant.setLv1Name(this.getLv1Name()); } if (this.isset_lv2Id) { fin_sys_tenant.setLv2Id(this.getLv2Id()); } if (this.isset_lv2Name) { fin_sys_tenant.setLv2Name(this.getLv2Name()); } if (this.isset_lv3Id) { fin_sys_tenant.setLv3Id(this.getLv3Id()); } if (this.isset_lv3Name) { fin_sys_tenant.setLv3Name(this.getLv3Name()); } if (this.isset_lv4Id) { fin_sys_tenant.setLv4Id(this.getLv4Id()); } if (this.isset_lv4Name) { fin_sys_tenant.setLv4Name(this.getLv4Name()); } if (this.isset_lv5Id) { fin_sys_tenant.setLv5Id(this.getLv5Id()); } if (this.isset_lv5Name) { fin_sys_tenant.setLv5Name(this.getLv5Name()); } if (this.isset_lv) { fin_sys_tenant.setLv(this.getLv()); } if (this.isset_orderNum) { fin_sys_tenant.setOrderNum(this.getOrderNum()); } if (this.isset_createTime3) { fin_sys_tenant.setCreateTime3(this.getCreateTime3()); } if (this.isset_modified) { fin_sys_tenant.setModified(this.getModified()); } if (this.isset_summary) { fin_sys_tenant.setSummary(this.getSummary()); } if (this.isset_address) { fin_sys_tenant.setAddress(this.getAddress()); } if (this.isset_lng) { fin_sys_tenant.setLng(this.getLng()); } if (this.isset_lat) { fin_sys_tenant.setLat(this.getLat()); } if (this.isset_openStatus) { fin_sys_tenant.setOpenStatus(this.getOpenStatus()); } if (this.isset_openTime) { fin_sys_tenant.setOpenTime(this.getOpenTime()); } if (this.isset_status) { fin_sys_tenant.setStatus(this.getStatus()); } if (this.isset_isDelete) { fin_sys_tenant.setIsDelete(this.getIsDelete()); } if (this.isset_path) { fin_sys_tenant.setPath(this.getPath()); } if (this.isset_venueName) { fin_sys_tenant.setVenueName(this.getVenueName()); } if (this.isset_cityId) { fin_sys_tenant.setCityId(this.getCityId()); } if (this.isset_orgPhoto) { fin_sys_tenant.setOrgPhoto(this.getOrgPhoto()); } if (this.isset_shortName) { fin_sys_tenant.setShortName(this.getShortName()); } if (this.isset_tenantType) { fin_sys_tenant.setTenantType(this.getTenantType()); } if (this.isset_createBy) { fin_sys_tenant.setCreateBy(this.getCreateBy()); } if (this.isset_createTime) { fin_sys_tenant.setCreateTime(this.getCreateTime()); } if (this.isset_updateBy) { fin_sys_tenant.setUpdateBy(this.getUpdateBy()); } if (this.isset_updateTime) { fin_sys_tenant.setUpdateTime(this.getUpdateTime()); } if (this.isset_belongProvince) { fin_sys_tenant.setBelongProvince(this.getBelongProvince()); } return fin_sys_tenant; } }