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

    @Schema(description = "雪花ID（自增）", requiredMode = Schema.RequiredMode.REQUIRED, example = "6195")
    private Long id;

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

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

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

    @Schema(description = "父序号", example = "32174")
    private String parentId;

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

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

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

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

}