NoticeDTO.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * /**
  3. * Copyright (c) 2018 业主系统 All rights reserved.
  4. * <p>
  5. * https://www.kioor.com
  6. * <p>
  7. * 版权所有,侵权必究!
  8. */
  9. package com.kioor.messageboard.dto;
  10. import com.fasterxml.jackson.annotation.JsonFormat;
  11. import io.swagger.v3.oas.annotations.media.Schema;
  12. import lombok.Data;
  13. import java.util.Date;
  14. /**
  15. * 留言
  16. *
  17. * @author Mark sunlightcs@gmail.com
  18. */
  19. @Data
  20. @Schema(description = "留言")
  21. public class NoticeDTO {
  22. @Schema(description = "id")
  23. private Long id;
  24. @Schema(description = "小区")
  25. private Long housingEstateId;
  26. @Schema(description = "留言板")
  27. private Long messageBoardId;
  28. @Schema(description = "公告标题")
  29. private String title;
  30. @Schema(description = "公告附图")
  31. private String imgUrl;
  32. @Schema(description = "公告内容")
  33. private String content;
  34. @Schema(description = "最后编辑人")
  35. private Long editUser;
  36. @Schema(description = "最后编辑人姓名")
  37. private String editUserName;
  38. @Schema(description = "最后编辑时间")
  39. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
  40. private Date editTime;
  41. }