| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.ToString; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | |
| | |
| | | @ToString |
| | | public class Task { |
| | | |
| | | @TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.AUTO,value = "id") |
| | | private Integer id; |
| | | @ApiModelProperty(value = "任务编号") |
| | | private String taskNo; |
| | |
| | | private String endLocationCode; |
| | | @ApiModelProperty(value = "状态:1=开始取货、2=取货完成、4=放货完成; 11=开始取活化电池、12=取到活化电池、13=活化电池放置到活化仓内、14=开始取活化结束的电池、15=取到活化结束的电池、16=活化返库完成; 21=开始取测压电池、22=取到测压电池、23=测压电池放置到活化仓内、24=开始取测压结束的电池、25=取到测压结束的电池、26=测压返库完成") |
| | | private Integer status; |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "状态时间") |
| | | private Date statusTime; |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "活化或者测压动作的开始时间") |
| | | private Date executeTime; |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "活化或者测压动作的结束时间") |
| | | private Date executeEndTime; |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "创建时间") |
| | | private Date createTime; |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "完成时间") |
| | | private Date endTime; |
| | | |