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

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 国企改革法规主题分类新增/修改 Request VO")
@Data
public class StateOwnedReformLawCategorySaveReqVO {

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

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

    @Schema(description = "分类编号", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "分类编号不能为空")
    private Long categoryCode;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "分类名称不能为空")
    private String categoryName;

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

    @Schema(description = "父编号")
    private Long parentCode;

    @Schema(description = "父编号名称", example = "王五")
    private String parentName;

    @Schema(description = "分类编号1", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "分类编号1不能为空")
    private Long level1Code;

    @Schema(description = "分类名称1", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
//    @NotEmpty(message = "分类名称1不能为空")
    private String level1Name;

    @Schema(description = "分类编号2")
    private Long level2Code;

    @Schema(description = "分类名称2", example = "李四")
    private String level2Name;

    @Schema(description = "分类编号3")
    private Long level3Code;

    @Schema(description = "分类名称3", example = "王五")
    private String level3Name;

    @Schema(description = "分类编号4")
    private Long level4Code;

    @Schema(description = "分类名称4", example = "璨阳")
    private String level4Name;

    @Schema(description = "分类编号5")
    private Long level5Code;

    @Schema(description = "分类名称5", example = "璨阳")
    private String level5Name;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能为空")
    private Integer order;

    @Schema(description = "排序1", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "排序1不能为空")
    private Integer order1;

    @Schema(description = "排序2", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "排序2不能为空")
    private Integer order2;

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

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

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

    @Schema(description = "资讯数", requiredMode = Schema.RequiredMode.REQUIRED, example = "1104")
//    @NotNull(message = "资讯数不能为空")
    private Integer infoCount;


    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "1104")
    @ExcelProperty("备注")
    private String remark;

}