package net.wicp.tams.app.duckula.controller.bean.models;

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table sys_user_position
 */
public class SysUserPosition {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_user_position.id
	 * @mbg.generated
	 */
	private Long id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_user_position.user_id
	 * @mbg.generated
	 */
	private Long userId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column sys_user_position.position_id
	 * @mbg.generated
	 */
	private Long positionId;
	/**
	 * Database Column Remarks: 租户id This field was generated by MyBatis Generator. This field corresponds to the database column sys_user_position.tenant_id
	 * @mbg.generated
	 */
	private Long tenantId;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sys_user_position
	 * @mbg.generated
	 */
	public SysUserPosition(Long id, Long userId, Long positionId, Long tenantId) {
		this.id = id;
		this.userId = userId;
		this.positionId = positionId;
		this.tenantId = tenantId;
	}

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

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_user_position.id
	 * @return  the value of sys_user_position.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_user_position.id
	 * @param id  the value for sys_user_position.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_user_position.user_id
	 * @return  the value of sys_user_position.user_id
	 * @mbg.generated
	 */
	public Long getUserId() {
		return userId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_user_position.user_id
	 * @param userId  the value for sys_user_position.user_id
	 * @mbg.generated
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_user_position.position_id
	 * @return  the value of sys_user_position.position_id
	 * @mbg.generated
	 */
	public Long getPositionId() {
		return positionId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_user_position.position_id
	 * @param positionId  the value for sys_user_position.position_id
	 * @mbg.generated
	 */
	public void setPositionId(Long positionId) {
		this.positionId = positionId;
	}

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