package com.hdkj.lt.bf.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hdkj.lt.bf.entity.dto.AttachmentDTO;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author rj
 * @date 2025/12/26 11:07
 * @description
 */
@Data
public class NoticeListVO {

    private String id;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 类别
     */
    private Integer type;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 是否已读
     */
    private Integer isRead;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private List<AttachmentDTO> attachments;
}
