fix: 通知公告和字典重构问题修复
This commit is contained in:
@@ -48,11 +48,6 @@ public class NoticeBO {
|
||||
*/
|
||||
private String level;
|
||||
|
||||
/**
|
||||
* 通知等级标签
|
||||
*/
|
||||
private String levelLabel;
|
||||
|
||||
/**
|
||||
* 目标类型(1: 全体 2: 指定)
|
||||
*/
|
||||
|
||||
@@ -3,6 +3,7 @@ package com.youlai.boot.system.model.dto;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
@@ -23,5 +24,8 @@ public class NoticeDTO {
|
||||
@Schema(description = "通知标题")
|
||||
private String title;
|
||||
|
||||
@Schema(description = "通知时间")
|
||||
private LocalDateTime publishTime;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -22,6 +22,9 @@ public class DictDataForm {
|
||||
@Schema(description = "字典ID")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "字典编码")
|
||||
private String dictCode;
|
||||
|
||||
@Schema(description = "字典值")
|
||||
private String value;
|
||||
|
||||
|
||||
@@ -41,9 +41,6 @@ public class NoticePageVO implements Serializable {
|
||||
@Schema(description = "通知等级")
|
||||
private String level;
|
||||
|
||||
@Schema(description = "通知等级")
|
||||
private String levelLabel;
|
||||
|
||||
@Schema(description = "发布时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
||||
private LocalDateTime publishTime;
|
||||
|
||||
@@ -22,18 +22,15 @@ public class UserNoticePageVO {
|
||||
@Schema(description = "通知标题")
|
||||
private String title;
|
||||
|
||||
@Schema(description = "通知类型")
|
||||
private Integer type;
|
||||
|
||||
@Schema(description = "通知等级")
|
||||
private String level;
|
||||
|
||||
@Schema(description = "通知类型")
|
||||
private String typeLabel;
|
||||
|
||||
@Schema(description = "发布人姓名")
|
||||
private String publisherName;
|
||||
|
||||
@Schema(description = "通知级别")
|
||||
private String levelLabel;
|
||||
|
||||
@Schema(description = "发布时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
||||
private LocalDateTime publishTime;
|
||||
|
||||
Reference in New Issue
Block a user