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_rela
 */
public class SysOrgRela {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_org_rela.id
	 * @mbg.generated
	 */
	private Long id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_org_rela.org_id_main
	 * @mbg.generated
	 */
	private Long orgIdMain;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_org_rela.org_id_rela
	 * @mbg.generated
	 */
	private Long orgIdRela;
	/**
	 * Database Column Remarks: virtual：虚拟   manage：监管  service:服务关系 This field was generated by MyBatis Generator. This field corresponds to the database column sys_org_rela.rela_type
	 * @mbg.generated
	 */
	private String relaType;
	/**
	 * Database Column Remarks: 租户id This field was generated by MyBatis Generator. This field corresponds to the database column sys_org_rela.tenant_id
	 * @mbg.generated
	 */
	private Long tenantId;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sys_org_rela
	 * @mbg.generated
	 */
	public SysOrgRela(Long id, Long orgIdMain, Long orgIdRela, String relaType, Long tenantId) {
		this.id = id;
		this.orgIdMain = orgIdMain;
		this.orgIdRela = orgIdRela;
		this.relaType = relaType;
		this.tenantId = tenantId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sys_org_rela
	 * @mbg.generated
	 */
	public SysOrgRela() {
		super();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_org_rela.id
	 * @return  the value of sys_org_rela.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_rela.id
	 * @param id  the value for sys_org_rela.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_rela.org_id_main
	 * @return  the value of sys_org_rela.org_id_main
	 * @mbg.generated
	 */
	public Long getOrgIdMain() {
		return orgIdMain;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_org_rela.org_id_main
	 * @param orgIdMain  the value for sys_org_rela.org_id_main
	 * @mbg.generated
	 */
	public void setOrgIdMain(Long orgIdMain) {
		this.orgIdMain = orgIdMain;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_org_rela.org_id_rela
	 * @return  the value of sys_org_rela.org_id_rela
	 * @mbg.generated
	 */
	public Long getOrgIdRela() {
		return orgIdRela;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_org_rela.org_id_rela
	 * @param orgIdRela  the value for sys_org_rela.org_id_rela
	 * @mbg.generated
	 */
	public void setOrgIdRela(Long orgIdRela) {
		this.orgIdRela = orgIdRela;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_org_rela.rela_type
	 * @return  the value of sys_org_rela.rela_type
	 * @mbg.generated
	 */
	public String getRelaType() {
		return relaType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_org_rela.rela_type
	 * @param relaType  the value for sys_org_rela.rela_type
	 * @mbg.generated
	 */
	public void setRelaType(String relaType) {
		this.relaType = relaType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_org_rela.tenant_id
	 * @return  the value of sys_org_rela.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_rela.tenant_id
	 * @param tenantId  the value for sys_org_rela.tenant_id
	 * @mbg.generated
	 */
	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}
}