package com.mes.opctask.entity.request; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.Api; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** * @Author : zhoush * @Date: 2024/12/22 16:10 * @Description: */ @Data public class TaskHistoryRequest { @ApiModelProperty(value = "设备id") private Integer deviceId; @ApiModelProperty(value = "玻璃id") private String glassId; @ApiModelProperty(value = "任务状态 0默认空任务 1结束任务") private Integer taskState; @ApiModelProperty(value = "任务类型:1进片任务 2出片任务 3直通任务") private Integer taskType; @ApiModelProperty(value = "开始时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date startTime; @ApiModelProperty(value = "结束时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date endTime; }