18582019636
2024-06-25 ca497f8389174bb81e91f840cab70c9579bcdd29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.ruoyi.admin.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
 
/**
 * <p>
 * 用户和角色关联表
 * </p>
 *
 * @author hjl
 * @since 2024-06-25
 */
@Getter
@Setter
@TableName("sys_user_role")
@ApiModel(value = "UserRole对象", description = "用户和角色关联表")
public class UserRole {
 
    @ApiModelProperty("用户ID")
    @TableField("user_id")
    private Long userId;
 
    @ApiModelProperty("角色ID")
    @TableField("role_id")
    private Long roleId;
 
}