tj
2025-06-05 2d549a04870d1315868a7cf19952b64e8071e711
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
33
34
35
36
37
38
package com.cloudroam.model;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
 
import java.io.Serializable;
 
/**
 * @author 
 * @author 
 * 用户分组数据对象
 */
@Data
@TableName("lin_user_group")
public class UserGroupDO implements Serializable {
 
    private static final long serialVersionUID = -7219009955825484511L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    /**
     * 用户id
     */
    private Integer userId;
 
    /**
     * 分组id
     */
    private Integer groupId;
 
    public UserGroupDO(Integer userId, Integer groupId) {
        this.userId = userId;
        this.groupId = groupId;
    }
}