net.wicp.tams.cas.bean.models.SysRoleRes 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_role_res
*/
public class SysRoleRes {
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_res.id
*
*/
private Long id;
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_res.role_id
*
*/
private Long roleId;
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_res.res_id
*
*/
private Long resId;
/**
* Database Column Remarks: 跟据资源类型授权项来编码,如:1001 为空表示不能访问 This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_res.auth_code
*
*/
private Long authCode;
/**
* Database Column Remarks: 租户id This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_res.tenant_id
*
*/
private Long tenantId;
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
public SysRoleRes(Long id, Long roleId, Long resId, Long authCode, Long tenantId) {
this.id = id;
this.roleId = roleId;
this.resId = resId;
this.authCode = authCode;
this.tenantId = tenantId;
}
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
public SysRoleRes() {
super();
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_role_res.id
* @return the value of sys_role_res.id
*
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_role_res.id
* @param id the value for sys_role_res.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_role_res.role_id
* @return the value of sys_role_res.role_id
*
*/
public Long getRoleId() {
return roleId;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_role_res.role_id
* @param roleId the value for sys_role_res.role_id
*
*/
public void setRoleId(Long roleId) {
this.roleId = roleId;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_role_res.res_id
* @return the value of sys_role_res.res_id
*
*/
public Long getResId() {
return resId;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_role_res.res_id
* @param resId the value for sys_role_res.res_id
*
*/
public void setResId(Long resId) {
this.resId = resId;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_role_res.auth_code
* @return the value of sys_role_res.auth_code
*
*/
public Long getAuthCode() {
return authCode;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_role_res.auth_code
* @param authCode the value for sys_role_res.auth_code
*
*/
public void setAuthCode(Long authCode) {
this.authCode = authCode;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_role_res.tenant_id
* @return the value of sys_role_res.tenant_id
*
*/
public Long getTenantId() {
return tenantId;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_role_res.tenant_id
* @param tenantId the value for sys_role_res.tenant_id
*
*/
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
}