package com.cy.guoyan.admin.module.guoyan.controller.admin.stateownedreformlawinfo.vo;

import com.cy.guoyan.admin.module.infra.controller.admin.file.vo.file.FileVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 国企改革法规信息新增/修改 Request VO")
@Data
public class StateOwnedReformLawInfoSaveReqVO {

    @Schema(description = "雪花ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29176")
    private Long id;

    @Schema(description = "原始UUID", example = "26236")
    private String oid;

    @Schema(description = "原始idbf")
    private String oidbf;

    @Schema(description = "资讯编号")
    private Integer infoNumber;

    @Schema(description = "法规名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "璨阳")
    @NotEmpty(message = "法规名称不能为空")
    private String lawName;

    @Schema(description = "文号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "文号不能为空")
    private String documentNumber;

    @Schema(description = "层级", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "层级不能为空")
    private String level;

    @Schema(description = "层级编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "层级编号不能为空")
    private Integer levelCode;

    @Schema(description = "签发日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "签发日期不能为空")
    private String publishDate;

    @Schema(description = "签发日期年份", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "签发日期年份不能为空")
    private Integer publishYear;

    @Schema(description = "签发单位", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "签发单位不能为空")
    private String publisher;

    @Schema(description = "摘要", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "摘要不能为空")
    private String summary;

    @Schema(description = "图片")
    private String image;

    @Schema(description = "图片日期")
    private String imageDate;

    @Schema(description = "主题分类", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "主题分类不能为空")
    private String topicCategory;

    @Schema(description = "主题分类编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "主题分类编号不能为空")
    private String topicCategoryCode;

    @Schema(description = "登记人名称", example = "张三")
    private String creatorName;

    @Schema(description = "修改人名称", example = "璨阳")
    private String updaterName;

    @Schema(description = "审核状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
//    @NotEmpty(message = "审核状态不能为空")
    private String auditStatus;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
//    @NotEmpty(message = "状态不能为空")
    private String status;

    @Schema(description = "关键词", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "关键词不能为空")
    private String keywords;

    @Schema(description = "地域", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "地域不能为空")
    private String region;

    @Schema(description = "地域代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "地域代码不能为空")
    private String regionCode;

    @Schema(description = "审核时间", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "审核时间不能为空")
    private LocalDateTime auditTime;

    @Schema(description = "审核人")
    private String auditor;

    @Schema(description = "文件列表")
    private List<FileVO> fileList;

}