zhangherong
2025-06-26 0a66b4e946ebbe3ac09a193ad5a60cf7a95fe99d
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 org.jeecg.modules.system.entity;
 
import java.io.Serializable;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
 
import lombok.Data;
 
/**
 * @Description: 用户部门
 * @author: jeecg-boot
 */
@Data
@TableName("sys_user_depart")
public class SysUserDepart implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**主键id*/
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**用户id*/
    private String userId;
    /**部门id*/
    private String depId;
    public SysUserDepart(String id, String userId, String depId) {
        super();
        this.id = id;
        this.userId = userId;
        this.depId = depId;
    }
 
    public SysUserDepart(String id, String departId) {
        this.userId = id;
        this.depId = departId;
    }
}