提交 | 用户 | 时间
|
e41062
|
1 |
package com.iailab.module.data.ind.item.vo; |
潘 |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import javax.validation.constraints.NotNull; |
68413a
|
7 |
import java.math.BigDecimal; |
e41062
|
8 |
|
潘 |
9 |
/** |
|
10 |
* @author PanZhibao |
|
11 |
* @Description |
|
12 |
* @createTime 2024年09月11日 |
|
13 |
*/ |
|
14 |
@Schema(description = "数据平台 - 指标项创建/修改 Request VO") |
|
15 |
@Data |
|
16 |
public class IndItemSaveReqVO { |
|
17 |
|
|
18 |
@Schema(description = "ID") |
|
19 |
private String id; |
|
20 |
|
68413a
|
21 |
@Schema(description = "编码") |
e41062
|
22 |
private String itemNo; |
潘 |
23 |
|
|
24 |
@Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED) |
|
25 |
@NotNull(message = "名称不能为空") |
|
26 |
private String itemName; |
|
27 |
|
68413a
|
28 |
@Schema(description = "指标类型", requiredMode = Schema.RequiredMode.REQUIRED) |
J |
29 |
@NotNull(message = "指标类型不能为空") |
e41062
|
30 |
private String itemType; |
潘 |
31 |
|
68413a
|
32 |
@Schema(description = "指标分类", requiredMode = Schema.RequiredMode.REQUIRED) |
J |
33 |
@NotNull(message = "指标分类不能为空") |
e41062
|
34 |
private String itemCategory; |
潘 |
35 |
|
68413a
|
36 |
@Schema(description = "系数") |
J |
37 |
private BigDecimal coefficient; |
e41062
|
38 |
|
68413a
|
39 |
@Schema(description = "指标精度") |
e41062
|
40 |
private Integer precision; |
潘 |
41 |
|
68413a
|
42 |
@Schema(description = "时间粒度") |
e41062
|
43 |
private String timeGranularity; |
潘 |
44 |
|
68413a
|
45 |
@Schema(description = "数量单位") |
e41062
|
46 |
private String unit; |
潘 |
47 |
|
68413a
|
48 |
@Schema(description = "备注") |
e41062
|
49 |
private String remark; |
潘 |
50 |
|
68413a
|
51 |
@Schema(description = "状态(0正常 1停用)") |
e41062
|
52 |
private Integer status; |
68413a
|
53 |
|
cf757d
|
54 |
@Schema(description = "原子指标") |
潘 |
55 |
private IndItemAtomVO atomItem; |
68413a
|
56 |
|
cf757d
|
57 |
@Schema(description = "派生指标") |
潘 |
58 |
private IndItemDerVO derItem; |
68413a
|
59 |
|
cf757d
|
60 |
@Schema(description = "计算指标") |
潘 |
61 |
private IndItemCalVO calItem; |
e41062
|
62 |
} |