提交 | 用户 | 时间
|
a6de49
|
1 |
package com.iailab.module.data.api.dto; |
H |
2 |
|
|
3 |
import com.fasterxml.jackson.annotation.JsonFormat; |
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
5 |
import io.swagger.v3.oas.annotations.tags.Tag; |
|
6 |
import lombok.Data; |
|
7 |
|
|
8 |
import javax.validation.constraints.NotNull; |
|
9 |
import java.util.Date; |
|
10 |
import java.util.List; |
|
11 |
|
|
12 |
/** |
|
13 |
* @author PanZhibao |
|
14 |
* @Description |
|
15 |
* @createTime 2023年05月05日 16:08:00 |
|
16 |
*/ |
|
17 |
@Data |
|
18 |
@Tag(name = "测点值查询") |
|
19 |
public class ApiPointValueQueryDTO { |
|
20 |
@Schema(description = "pointNos") |
|
21 |
@NotNull(message="pointNos不能为空") |
|
22 |
private List<String> pointNos; |
|
23 |
|
|
24 |
@Schema(description = "开始时间") |
|
25 |
@NotNull(message="start不能为空") |
|
26 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|
27 |
private Date start; |
|
28 |
|
|
29 |
@Schema(description = "结束时间") |
|
30 |
@NotNull(message="end不能为空") |
|
31 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|
32 |
private Date end; |
|
33 |
} |