mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package com.panzhihua.service_user.model.dos;
 
import java.io.Serializable;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.*;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
 
/**
 * 角色表 sys_role
 * 
 * @author HUANGHONGFA
 */
@Data
@TableName("sys_role")
public class SysRoleDO implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 角色id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long roleId;
 
    /**
     * 角色名称
     */
    private String roleName;
 
    /**
     * 角色权限字符串
     */
    private String roleKey;
 
    /**
     * 显示顺序
     */
    private Integer roleSort;
 
    /**
     * 数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限 )
     */
    private String dataScope;
 
    /**
     * 菜单树选择项是否关联显示
     */
    private boolean menuCheckStrictly;
 
    /**
     * 部门树选择项是否关联显示
     */
    private boolean deptCheckStrictly;
 
    /**
     * 角色状态(0正常 1停用)
     */
    private Integer status;
 
    /**
     * 创建者
     */
    private Long createBy;
 
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
 
    /**
     * 更新者
     */
    private Long updateBy;
 
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;
 
    /**
     * 备注
     */
    private String remark;
 
    /**
     * 社区id
     */
    private Long communityId;
 
    private String areaCode;
 
}