package com.iailab.module.data.ind.item.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import javax.validation.constraints.NotNull; /** * @author PanZhibao * @Description * @createTime 2024年09月11日 */ @Schema(description = "数据平台 - 指标项创建/修改 Request VO") @Data public class IndItemSaveReqVO { @Schema(description = "ID") private String id; /** * 指标编码 */ @Schema(description = "名称") private String itemNo; /** * 指标名称 */ @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED) @NotNull(message = "名称不能为空") private String itemName; /** * 指标类型 */ @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED) @NotNull(message = "名称不能为空") private String itemType; /** * 指标分类 */ @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED) @NotNull(message = "名称不能为空") private String itemCategory; /** * 转换系数 */ @Schema(description = "名称") private Boolean coefficient; /** * 指标精度 */ @Schema(description = "名称") private Integer precision; /** * 时间粒度 */ @Schema(description = "名称") private String timeGranularity; /** * 数量单位 */ @Schema(description = "名称") private String unit; /** * 备注 */ @Schema(description = "名称") private String remark; /** * 状态 */ @Schema(description = "名称") private Integer status; }