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_assign
 */
public class SysRoleAssign {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_assign.id
	 * @mbg.generated
	 */
	private Long id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_assign.role_id
	 * @mbg.generated
	 */
	private Long roleId;
	/**
	 * Database Column Remarks: 是一个枚举类型：ORG  组织      GROUP   群组    POSITION   职位       STAFF 员工 This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_assign.assign_type
	 * @mbg.generated
	 */
	private String assignType;
	/**
	 * Database Column Remarks: 按据不同的分派类型来自不同的表 This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_assign.assign_value
	 * @mbg.generated
	 */
	private Long assignValue;
	/**
	 * Database Column Remarks: 租户id This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_assign.tenant_id
	 * @mbg.generated
	 */
	private Long tenantId;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_assign
	 * @mbg.generated
	 */
	public SysRoleAssign(Long id, Long roleId, String assignType, Long assignValue, Long tenantId) {
		this.id = id;
		this.roleId = roleId;
		this.assignType = assignType;
		this.assignValue = assignValue;
		this.tenantId = tenantId;
	}

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

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_role_assign.id
	 * @return  the value of sys_role_assign.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_assign.id
	 * @param id  the value for sys_role_assign.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_assign.role_id
	 * @return  the value of sys_role_assign.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_assign.role_id
	 * @param roleId  the value for sys_role_assign.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_assign.assign_type
	 * @return  the value of sys_role_assign.assign_type
	 * @mbg.generated
	 */
	public String getAssignType() {
		return assignType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_role_assign.assign_type
	 * @param assignType  the value for sys_role_assign.assign_type
	 * @mbg.generated
	 */
	public void setAssignType(String assignType) {
		this.assignType = assignType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_role_assign.assign_value
	 * @return  the value of sys_role_assign.assign_value
	 * @mbg.generated
	 */
	public Long getAssignValue() {
		return assignValue;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_role_assign.assign_value
	 * @param assignValue  the value for sys_role_assign.assign_value
	 * @mbg.generated
	 */
	public void setAssignValue(Long assignValue) {
		this.assignValue = assignValue;
	}

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