| | |
| | | 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; |
| | | |
| | | } |