提交 | 用户 | 时间
|
0ed8ac
|
1 |
package com.iailab.module.data.point.dto; |
潘 |
2 |
|
|
3 |
import com.iailab.framework.common.validation.group.AddGroup; |
|
4 |
import com.iailab.framework.common.validation.group.UpdateGroup; |
|
5 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
6 |
import io.swagger.v3.oas.annotations.tags.Tag; |
|
7 |
import lombok.Data; |
|
8 |
|
|
9 |
import javax.validation.constraints.NotNull; |
|
10 |
import javax.validation.constraints.Null; |
|
11 |
import java.io.Serializable; |
|
12 |
|
|
13 |
/** |
|
14 |
* @author PanZhibao |
|
15 |
* @Description |
|
16 |
* @createTime 2024年11月28日 |
|
17 |
*/ |
|
18 |
@Data |
|
19 |
@Tag(name = "累计点表") |
|
20 |
public class DaCumulatePointDTO implements Serializable { |
|
21 |
private static final long serialVersionUID = 1L; |
|
22 |
|
|
23 |
@Schema(description = "id") |
|
24 |
@Null(message="{id.null}", groups = AddGroup.class) |
|
25 |
@NotNull(message="{id.require}", groups = UpdateGroup.class) |
|
26 |
private String id; |
|
27 |
|
|
28 |
@Schema(description = "测点ID", required = true) |
|
29 |
private String pointId; |
|
30 |
|
|
31 |
@Schema(description = "瞬时测点", required = true) |
56dba6
|
32 |
private String momentPoint; |
0ed8ac
|
33 |
|
潘 |
34 |
@Schema(description = "累计长度", required = true) |
|
35 |
private Integer length; |
|
36 |
|
|
37 |
@Schema(description = "除数", required = true) |
|
38 |
private Integer divisor; |
|
39 |
} |