lyh
2025-01-13 137d008bd9b7d932160436a3a560b24512f6d1db
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
package org.jeecg.modules.dnc.entity;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
 
import java.io.Serializable;
import java.util.Date;
 
@Data
@NoArgsConstructor
@TableName(value = "sys_button")
@ExcelTarget("button")
public class Button implements Serializable {
    @TableId
    private String buttonId;
    @Excel(name = "按钮权限")
    private String buttonPerm;
    @Excel(name = "按钮名称")
    private String buttonName;
    private String buttonIcon;
    private Integer priority;
    private Integer buttonType;
    @JsonIgnore
    @TableField(value = "create_time", select = false, fill = FieldFill.INSERT)
    private Date createTime;
    @JsonIgnore
    @TableField(value = "update_time", select = false, fill = FieldFill.UPDATE)
    private Date updateTime;
    @JsonIgnore
    @TableField(value = "create_user", select = false, fill = FieldFill.INSERT)
    private String createUser;
    @JsonIgnore
    @TableField(value = "update_user", select = false, fill = FieldFill.UPDATE)
    private String updateUser;
    @JsonIgnore
    @TableLogic
    @TableField(value = "delete_flag", select = false)
    private Integer deleteFlag = 0;
 
    @TableField(exist = false)
    private String buttonAlias;
 
    @TableField(exist = false)
    private String buttonUrl;
 
    @TableField(exist = false)
    private String permCode;
 
    @TableField(exist = false)
    private Boolean checked = false;
}