eight
2024-11-21 b8ed4828e4d798111d36fc58ebb718ebe62359b9
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
package cn.lihu.jh.module.system.api.permission.dto;
 
import lombok.Data;
 
import java.util.HashSet;
import java.util.Set;
 
/**
 * 部门的数据权限 Response DTO
 *
 * @author 芋道源码
 */
@Data
public class DeptDataPermissionRespDTO {
 
    /**
     * 是否可查看全部数据
     */
    private Boolean all;
    /**
     * 是否可查看自己的数据
     */
    private Boolean self;
    /**
     * 可查看的部门编号数组
     */
    private Set<Long> deptIds;
 
    public DeptDataPermissionRespDTO() {
        this.all = false;
        this.self = false;
        this.deptIds = new HashSet<>();
    }
 
}