All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.wicp.tams.cas.bean.models.SysRoleAssign Maven / Gradle / Ivy

There is a newer version: 1.3.2
Show newest version
package net.wicp.tams.cas.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
	 * 
	 */
	private Long id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_role_assign.role_id
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	private Long tenantId;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_assign
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	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
	 * 
	 */
	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy