package com.iailab.module.model.api.mdk.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; /** * @author PanZhibao * @Description * @createTime 2024年08月26日 */ @Schema(description = "RPC 模型 - 预测 DTO") @Data public class MdkPredictReqDTO { @Schema(description = "预测时间") @NotNull(message="预测时间不能为空") @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") private Date predictTime; @Schema(description = "预测模块(管网类型)") private String moduleType; @Schema(description = "预测项编号") private String itemNo; @Schema(description = "是否返回预测结果") private Boolean isResult; }