net.wicp.tams.cas.bean.models.SysOrgRela 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_rela
*/
public class SysOrgRela {
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column sys_org_rela.id
*
*/
private Long id;
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column sys_org_rela.org_id_main
*
*/
private Long orgIdMain;
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column sys_org_rela.org_id_rela
*
*/
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
*
*/
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
*
*/
private Long tenantId;
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_org_rela
*
*/
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
*
*/
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
*
*/
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
*
*/
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
*
*/
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
*
*/
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
*
*/
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
*
*/
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
*
*/
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
*
*/
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
*
*/
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
*
*/
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
}