package com.zhgd.xmgl.modules.basicdata.dto;

import com.zhgd.xmgl.modules.basicdata.entity.AnnexFile;
import com.zhgd.xmgl.modules.basicdata.entity.NoticeAccept;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
@ApiModel(value = "通知公告信息(DTO)", description = "NoticeDto")
public class NoticeDto {

    @ApiModelProperty(value = "通知公告ID")
    private Long noticeId;

    @ApiModelProperty(value = "通知标题")
    private String title;

    @ApiModelProperty(value = "通知内容")
    private String content;

    @ApiModelProperty(value = "通知类型")
    private String type;

    @ApiModelProperty(value = "发件单位")
    private String createBy;

    @ApiModelProperty(value = "发件单位名称")
    private String createByName;

    @ApiModelProperty(value = "发布时间")
    private Date createTime;

    @ApiModelProperty(value = "附件")
    private List<AnnexFile> annexFileList;

    @ApiModelProperty(value = "接收方信息")
    private List<NoticeAccept> acceptList;

    @ApiModelProperty(value = "接收方信息")
    private List<String> acceptSnList;
}
