package com.yunyan.business.pojo.admin.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.yunyan.common.annotation.Excel;
import com.yunyan.common.core.domain.BaseEntityVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * 报告数据对象 tb_final_data
 *
 * @author yunyan
 * @date 2023-07-27
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "tb_final_data")
public class FinalDataPublicSiteListVo extends BaseEntityVo
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "序号")
    @ApiModelProperty(value = "序号")
    private String rowNo;

    @Excel(name = "组织编码", width = 20)
    @ApiModelProperty(value = "组织编码")
    private String deptCode;

    @Excel(name = "单位名称", width = 30)
    @ApiModelProperty(value = "单位名称")
    private String deptName;

    @Excel(name = "批复时间", dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "批复时间(yyyy-MM-dd 取数据管理的填报开始时间)")
    private Date fillBeginTime;

    @Excel(name = "截止填报时间", dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "截止填报时间(yyyy-MM-dd 取数据管理的填报截止时间)")
    private Date fillEndTime;

    @Excel(name = "公开时间", dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "公开时间(录入网址的时间)")
    private Date publicTime;

    @Excel(name = "公开网址有效性", readConverterExp = "1=有效,0=无效" )
    @ApiModelProperty(value = "公开网址有效性： 1-有效, 0-无效")
    private Integer publicSiteAccess;

    @Excel(name = "公开下载链接的有效性", readConverterExp = "1=有效,0=无效" )
    @ApiModelProperty(value = "公开下载链接的有效性: 1-有效, 0-无效")
    private Integer publicDownloadUrlAccess;

    @Excel(name = "公开网址", width = 60)
    @ApiModelProperty(value = "公开网址")
    private String publicSite;

    @Excel(name = "公开报告下载链接", width = 60)
    @ApiModelProperty(value = "公开报告下载链接")
    private String publicDownloadUrl;



}
