net.wicp.tams.cas.bean.models.SysOrg Maven / Gradle / Ivy
package net.wicp.tams.cas.bean.models;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_org
*/
public class SysOrg {
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.id
*
*/
private Long id;
/**
* Database Column Remarks: 父组织id This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.parent_id
*
*/
private Long parentId;
/**
* Database Column Remarks: 组织id的路径 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.org_id_path
*
*/
private String orgIdPath;
/**
* Database Column Remarks: 组织名称 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.org_name
*
*/
private String orgName;
/**
* Database Column Remarks: 组织编码 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.org_code
*
*/
private String orgCode;
/**
* Database Column Remarks: virtual:虚拟 entity:实体 manage:管理 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.unit_type
*
*/
private String unitType;
/**
* Database Column Remarks: 地址 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.address
*
*/
private String address;
/**
* Database Column Remarks: 租户 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.tenant_id
*
*/
private Long tenantId;
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_org
*
*/
public SysOrg(Long id, Long parentId, String orgIdPath, String orgName, String orgCode, String unitType,
String address, Long tenantId) {
this.id = id;
this.parentId = parentId;
this.orgIdPath = orgIdPath;
this.orgName = orgName;
this.orgCode = orgCode;
this.unitType = unitType;
this.address = address;
this.tenantId = tenantId;
}
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_org
*
*/
public SysOrg() {
super();
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_org.id
* @return the value of sys_org.id
*
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_org.id
* @param id the value for sys_org.id
*
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_org.parent_id
* @return the value of sys_org.parent_id
*
*/
public Long getParentId() {
return parentId;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_org.parent_id
* @param parentId the value for sys_org.parent_id
*
*/
public void setParentId(Long parentId) {
this.parentId = parentId;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_org.org_id_path
* @return the value of sys_org.org_id_path
*
*/
public String getOrgIdPath() {
return orgIdPath;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_org.org_id_path
* @param orgIdPath the value for sys_org.org_id_path
*
*/
public void setOrgIdPath(String orgIdPath) {
this.orgIdPath = orgIdPath;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_org.org_name
* @return the value of sys_org.org_name
*
*/
public String getOrgName() {
return orgName;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_org.org_name
* @param orgName the value for sys_org.org_name
*
*/
public void setOrgName(String orgName) {
this.orgName = orgName;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_org.org_code
* @return the value of sys_org.org_code
*
*/
public String getOrgCode() {
return orgCode;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_org.org_code
* @param orgCode the value for sys_org.org_code
*
*/
public void setOrgCode(String orgCode) {
this.orgCode = orgCode;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_org.unit_type
* @return the value of sys_org.unit_type
*
*/
public String getUnitType() {
return unitType;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_org.unit_type
* @param unitType the value for sys_org.unit_type
*
*/
public void setUnitType(String unitType) {
this.unitType = unitType;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_org.address
* @return the value of sys_org.address
*
*/
public String getAddress() {
return address;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_org.address
* @param address the value for sys_org.address
*
*/
public void setAddress(String address) {
this.address = address;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_org.tenant_id
* @return the value of sys_org.tenant_id
*
*/
public Long getTenantId() {
return tenantId;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_org.tenant_id
* @param tenantId the value for sys_org.tenant_id
*
*/
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
}