package com.mes.rawglasstask.entity.request;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
import java.util.List;
|
|
@Data
|
public class RawGlassTaskRequest {
|
|
/**
|
* 任务类型 1 入库 2 出库 3 调度
|
*/
|
private List<Integer> taskState;
|
/**
|
* 任务状态 1 新建 2 执行中 3 完成
|
*/
|
private List<Integer> taskType;
|
|
/**
|
* 开始时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date beginDate;
|
|
/**
|
* 结束时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date endDate;
|
}
|