package com.cy.guoyan.admin.module.guoyan.controller.admin.stateownedreformbestpracticeinfo.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 StateOwnedReformBestPracticeInfoSaveReqVO {

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

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

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标题不能为空")
    private String title;

    @Schema(description = "措施")
    private String measure;

    @Schema(description = "一级要素", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "一级要素不能为空")
    private String level1Element;

    @Schema(description = "一级要素序号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6683")
    @NotEmpty(message = "一级要素序号不能为空")
    private String level1ElementId;

    @Schema(description = "二级要素", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "二级要素不能为空")
    private String level2Element;

    @Schema(description = "二级要素序号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2127")
    @NotEmpty(message = "二级要素序号不能为空")
    private String level2ElementId;

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

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

    @Schema(description = "文件")
    private String file;

    @Schema(description = "文号")
    private String documentNumber;

    @Schema(description = "发布时间")
    private LocalDateTime publishTime;

    @Schema(description = "登记人序号", example = "28350")
    private String creatorId;

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

    @Schema(description = "修改人序号", example = "13356")
    private String updaterId;

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

    @Schema(description = "状态", example = "2")
    private String status;

    @Schema(description = "审核状态", example = "1")
    private String auditStatus;

    @Schema(description = "审核状态编号", example = "5442")
    private Integer auditStatusId;

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

    @Schema(description = "审核时间")
    private LocalDateTime auditTime;

    @Schema(description = "录入人")
    private String inputer;

    @Schema(description = "附件序号", example = "11628")
    private String attachmentId;

    @Schema(description = "附件名称", example = "赵六")
    private String attachmentName;

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

}