package com.iailab.module.data.ind.category.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; /** * @author PanZhibao * @Description * @createTime 2024年09月10日 */ @Schema(description = "数据平台 - 指标分类创建/修改 Request VO") @Data public class IndItemCategorySaveReqVO { @Schema(description = "ID", example = "1024") private String id; @Schema(description = "标签", requiredMode = Schema.RequiredMode.REQUIRED, example = "平台") @NotBlank(message = "标签") @Size(max = 50, message = "标签长度不能超过20个字符") private String label; @Schema(description = "父菜单 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @NotNull(message = "父菜单 ID 不能为空") private String pid; @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @NotNull(message = "显示顺序不能为空") private Integer sort; }