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

com.zznote.basecommon.entity.system.TUserRole Maven / Gradle / Ivy

The newest version!
package com.zznote.basecommon.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户和角色关联表
 * 
 * @author zhangzhen
 * @email [email protected]
 * @date 2022-04-12 17:04:17
 */
@Data
@NoArgsConstructor
@TableName("t_user_role")
@ApiModel("用户和角色关联")
public class TUserRole implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	 */
	@TableId(type = IdType.INPUT)
	@ApiModelProperty(value = "用户ID")
	private Long userId;

	/**
	 * 角色ID
	 */
	@ApiModelProperty(value = "角色ID")
	private Long roleId;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy