package com.iailab.module.data.api.dto; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.tags.Tag; 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 @Tag(name = "测点值查询") public class ApiPointValueQueryDTO { @Schema(description = "pointNos") @NotNull(message="pointNos不能为空") private List pointNos; @Schema(description = "开始时间") @NotNull(message="start不能为空") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date start; @Schema(description = "结束时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date end; }