3 天以前 83e1b4d0e661f11a407fd6ea86e906b9b87b7180
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
package cn.iocoder.yudao.module.bpm.controller.admin.oa.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
import java.util.List;
 
@Schema(description = "管理后台 - 通知公告 Response VO")
@Data
public class OaNoticeRespVO {
 
    @Schema(description = "通知公告编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "公告标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "关于放假的通知")
    private String title;
 
    @Schema(description = "公告内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "根据国家规定...")
    private String content;
 
    @Schema(description = "公告类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer type;
 
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;
 
    @Schema(description = "发送范围", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer sendScope;
 
    @Schema(description = "是否置顶", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer isTop;
 
    @Schema(description = "发布人ID", example = "1")
    private Long publishUserId;
 
    @Schema(description = "发布时间", example = "2025-01-01 10:00:00")
    private LocalDateTime publishTime;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;
 
    @Schema(description = "指定用户ID列表(仅sendScope=2时有值)")
    private List<Long> userIds;
 
    @Schema(description = "已读人数", example = "10")
    private Long readCount;
 
    @Schema(description = "当前用户是否已读", example = "true")
    private Boolean isRead;
 
}