zss
2026-04-24 a1454f4b28db363ca4c4a6ea182d3aab95dc9518
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
package com.ruoyi.collaborativeApproval.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
import java.util.Date;
 
/**
 * 公告表
 *
 */
@Data
@TableName("notice")
@Schema
public class Notice {
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
 
    /**
     * 公告标题
     */
    @Schema(description = "公告标题")
    private String title;
 
    /**
     * 公告类型
     */
    @Schema(description = "公告类型")
    private String type;
 
    /**
     * 状态(0草稿 1发布 2已下线)
     */
    @Schema(description = "状态(0草稿 1发布 2已下线)")
    private Integer status;
 
    /**
     * 公告内容
     */
    @Schema(description = "公告内容")
    private String content;
 
    /**
     * 优先级(1普通 2重要 3紧急)
     */
    @Schema(description = "优先级(1普通 2重要 3紧急)")
    private Integer priority;
 
 
    /**
     * 过期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date expirationDate;
 
 
    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    /**
     * 租户ID
     */
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
 
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
 
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}