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

import com.zhgd.xmgl.modules.basicdata.entity.AnnexFile;
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 = "PolicyDto")
public class PolicyDto {

    @ApiModelProperty(value = "政策法规ID")
    private Integer policyId;

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

    @ApiModelProperty(value = "正文内容")
    private String content;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "类型(1:政策法规;2:一般文件;3:其他;)")
    private Integer type;

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

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

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

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