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

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

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

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

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

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

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

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

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

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

}