UserNoticePageVO.java 902 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package com.zsElectric.boot.system.model.vo;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import io.swagger.v3.oas.annotations.media.Schema;
  4. import lombok.Data;
  5. import java.time.LocalDateTime;
  6. /**
  7. * 用户公告VO
  8. *
  9. * @author Theo
  10. * @since 2024-08-28 16:56
  11. */
  12. @Data
  13. @Schema(description = "用户公告VO")
  14. public class UserNoticePageVO {
  15. @Schema(description = "通知ID")
  16. private Long id;
  17. @Schema(description = "通知标题")
  18. private String title;
  19. @Schema(description = "通知类型")
  20. private Integer type;
  21. @Schema(description = "通知等级")
  22. private String level;
  23. @Schema(description = "发布人姓名")
  24. private String publisherName;
  25. @Schema(description = "发布时间")
  26. @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
  27. private LocalDateTime publishTime;
  28. @Schema(description = "是否已读")
  29. private Integer isRead;
  30. }