package com.iailab.module.data.plan.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 PlanItemSaveReqVO {
|
|
@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 itemCategory;
|
|
@Schema(description = "时间粒度")
|
private String timeGranularity;
|
|
@Schema(description = "数据集")
|
private String dataSet;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
@Schema(description = "状态(0正常 1停用)")
|
private Integer status;
|
}
|