package com.iailab.module.data.ind.item.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
import java.math.BigDecimal;
|
|
/**
|
* @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 BigDecimal coefficient;
|
|
/**
|
* 指标精度
|
*/
|
@Schema(description = "指标精度")
|
private Integer precision;
|
|
/**
|
* 时间粒度
|
*/
|
@Schema(description = "时间粒度")
|
private String timeGranularity;
|
|
/**
|
* 数量单位
|
*/
|
@Schema(description = "数量单位")
|
private String unit;
|
|
/**
|
* 备注
|
*/
|
@Schema(description = "备注")
|
private String remark;
|
|
/**
|
* 状态
|
*/
|
@Schema(description = "状态(0正常 1停用)")
|
private Integer status;
|
|
private IndItemAtomVo atomItem;
|
|
private IndItemDerVo derItem;
|
|
private IndItemCalVo calItem;
|
}
|