package com.zt.plat.module.qms.resource.record.controller.admin.recordcategory.vo;

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

@Schema(description = "管理后台 - 文件记录分类新增/修改 Request VO")
@Data
public class RecordCategorySaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "10196")
    private Long id;

    @Schema(description = "上级id", example = "7013")
    private Long parentId;

    @Schema(description = "id路径")
    private String idPath;

    @Schema(description = "名称", example = "ZT")
    private String name;

    @Schema(description = "业务类型,文件、记录、模板", example = "1")
    private String businessType;

    @Schema(description = "模块名称", example = "ZT")
    private String moduleName;

    @Schema(description = "模块编码")
    private String moduleCode;

    @Schema(description = "排序号")
    @NotNull(message = "排序号不能为空")
    private Integer sortNo;

    @Schema(description = "其他配置")
    @ExcelProperty("其他配置")
    private String customConfig;

    @Schema(description = "数据来源,手工录入、手工归档、自动采集")
    private String dataSource;

    @Schema(description = "数据维度,单次、自然月")
    private String dataDimension;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    private String remark;

}