package com.iailab.module.data.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2023年05月05日 16:08:00
|
*/
|
@Data
|
@Schema(name = "测点值查询")
|
public class ApiPointValueQueryDTO {
|
@Schema(name = "pointNos")
|
@NotNull(message="pointNos不能为空")
|
private List<String> pointNos;
|
|
@Schema(name = "开始时间")
|
@NotNull(message="start不能为空")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date start;
|
|
@Schema(name = "结束时间")
|
@NotNull(message="end不能为空")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date end;
|
}
|