/** * /** * Copyright (c) 2018 业主系统 All rights reserved. *

* https://www.kioor.com *

* 版权所有,侵权必究! */ package com.kioor.messageboard.dto; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.util.Date; /** * 留言 * * @author Mark sunlightcs@gmail.com */ @Data @Schema(description = "留言") public class NoticeDTO { @Schema(description = "id") private Long id; @Schema(description = "小区") private Long housingEstateId; @Schema(description = "留言板") private Long messageBoardId; @Schema(description = "公告标题") private String title; @Schema(description = "公告附图") private String imgUrl; @Schema(description = "公告内容") private String content; @Schema(description = "最后编辑人") private Long editUser; @Schema(description = "最后编辑人姓名") private String editUserName; @Schema(description = "最后编辑时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai") private Date editTime; }