| | |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * @author PanZhibao |
| | |
| | | @Schema(description = "ID") |
| | | private String id; |
| | | |
| | | /** |
| | | * 指标编码 |
| | | */ |
| | | @Schema(description = "名称") |
| | | @Schema(description = "编码") |
| | | private String itemNo; |
| | | |
| | | /** |
| | | * 指标名称 |
| | | */ |
| | | @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "名称不能为空") |
| | | private String itemName; |
| | | |
| | | /** |
| | | * 指标类型 |
| | | */ |
| | | @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "名称不能为空") |
| | | @Schema(description = "指标类型", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "指标类型不能为空") |
| | | private String itemType; |
| | | |
| | | /** |
| | | * 指标分类 |
| | | */ |
| | | @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "名称不能为空") |
| | | @Schema(description = "指标分类", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "指标分类不能为空") |
| | | private String itemCategory; |
| | | |
| | | /** |
| | | * 转换系数 |
| | | */ |
| | | @Schema(description = "名称") |
| | | private Boolean coefficient; |
| | | @Schema(description = "系数") |
| | | private BigDecimal coefficient; |
| | | |
| | | /** |
| | | * 指标精度 |
| | | */ |
| | | @Schema(description = "名称") |
| | | @Schema(description = "指标精度") |
| | | private Integer precision; |
| | | |
| | | /** |
| | | * 时间粒度 |
| | | */ |
| | | @Schema(description = "名称") |
| | | @Schema(description = "时间粒度") |
| | | private String timeGranularity; |
| | | |
| | | /** |
| | | * 数量单位 |
| | | */ |
| | | @Schema(description = "名称") |
| | | @Schema(description = "数量单位") |
| | | private String unit; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @Schema(description = "名称") |
| | | @Schema(description = "备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 状态 |
| | | */ |
| | | @Schema(description = "名称") |
| | | @Schema(description = "状态(0正常 1停用)") |
| | | private Integer status; |
| | | |
| | | @Schema(description = "原子指标") |
| | | private IndItemAtomVO atomItem; |
| | | |
| | | @Schema(description = "派生指标") |
| | | private IndItemDerVO derItem; |
| | | |
| | | @Schema(description = "计算指标") |
| | | private IndItemCalVO calItem; |
| | | } |