From bbe7acfbe5a4c08d6edc91eaf81dcecf9d630e18 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期日, 15 十二月 2024 15:10:50 +0800 Subject: [PATCH] collectQuality --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/vo/IndDataSetFieldSaveReqVO.java | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/vo/IndDataSetFieldSaveReqVO.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/vo/IndDataSetFieldSaveReqVO.java index 5e40317..c0d203c 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/vo/IndDataSetFieldSaveReqVO.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/vo/IndDataSetFieldSaveReqVO.java @@ -1,9 +1,40 @@ package com.iailab.module.data.ind.data.vo; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +import javax.validation.constraints.NotNull; + /** * @author PanZhibao * @Description * @createTime 2024年09月10日 */ +@Schema(description = "数据平台 - 数据集字段创建/修改 Request VO") +@Data public class IndDataSetFieldSaveReqVO { + + @Schema(description = "ID") + private String id; + + @Schema(description = "数据集ID", requiredMode = Schema.RequiredMode.REQUIRED) + @NotNull(message = "数据集ID不能为空") + private String dataSetId; + + @Schema(description = "英文名", requiredMode = Schema.RequiredMode.REQUIRED) + @NotNull(message = "英文名不能为空") + private String fieldCode; + + @Schema(description = "中文名", requiredMode = Schema.RequiredMode.REQUIRED) + @NotNull(message = "中文名不能为空") + private String fieldName; + + @Schema(description = "数据类型", requiredMode = Schema.RequiredMode.REQUIRED) + @NotNull(message = "数据类型不能为空") + private String fieldType; + + @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED) + @NotNull(message = "排序不能为空") + private Integer sort; + } \ No newline at end of file -- Gitblit v1.9.3