package net.wicp.tams.app.duckula.controller.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
	 * @mbg.generated
	 */
	private Long id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_res.role_id
	 * @mbg.generated
	 */
	private Long roleId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_res.res_id
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	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
	 * @mbg.generated
	 */
	private Long tenantId;

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