package net.wicp.tams.app.duckula.controller.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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	private String orgIdPath;
	/**
	 * Database Column Remarks: 组织名称 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.org_name
	 * @mbg.generated
	 */
	private String orgName;
	/**
	 * Database Column Remarks: 组织编码 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.org_code
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	private String unitType;
	/**
	 * Database Column Remarks: 地址 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.address
	 * @mbg.generated
	 */
	private String address;
	/**
	 * Database Column Remarks: 租户 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org.tenant_id
	 * @mbg.generated
	 */
	private Long tenantId;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sys_org
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}
}