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_group
 */
public class SysUserGroup {

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

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

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

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

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_user_group.group_id
	 * @param groupId  the value for sys_user_group.group_id
	 * @mbg.generated
	 */
	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

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