feat: 通知公告临时提交

通知公告临时提交
This commit is contained in:
胡少翔
2024-09-12 18:08:02 +08:00
parent fa77b5cb8c
commit 9c765bda24
11 changed files with 110 additions and 5 deletions

View File

@@ -28,4 +28,7 @@ public class NoticeQuery extends BasePageQuery {
@Schema(description = "发布时间")
private List<String> releaseTime;
@Schema(description = "查询人ID")
private Long userId;
}

View File

@@ -1,8 +1,11 @@
package com.youlai.boot.system.model.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 用户公告状态VO
*
@@ -13,12 +16,25 @@ import lombok.Data;
@Schema(description = "用户公告状态VO")
public class NoticeStatusVO {
@Schema(description = "公告ID")
@Schema(description = "通知ID")
private Long id;
@Schema(description = "公告标题")
@Schema(description = "通知标题")
private String title;
@Schema(description = "通知类型")
private String noticeTypeLabel;
@Schema(description = "发布人")
private String releaseBy;
@Schema(description = "优先级(0-低 1-中 2-高)")
private Integer priority;
@Schema(description = "发布时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime releaseTime;
@Schema(description = "是否已读")
private Integer readStatus;