123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- package com.ruoyi.tianao.domian;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import org.springframework.format.annotation.DateTimeFormat;
- import javax.validation.constraints.NotEmpty;
- import javax.validation.constraints.NotNull;
- import java.util.Date;
- /**
- * Created with IntelliJ IDEA.
- *
- * @author: liuzhifei
- * Date: 2023/6/6
- * Time: 13:39
- * To change this template use File | Settings | File Templates.
- * Description: 天奥对接实体
- **/
- @Data
- public class TianaoTask{
- /**
- * LCS任务编码
- */
- @NotEmpty(message = "LCS任务编码不能为空")
- private String lcs_task_id;
- /**
- * 托盘号
- */
- @NotEmpty(message = "托盘号不能为空")
- private String container_no;
- /**
- * 任务类型
- */
- @NotEmpty(message = "任务类型不能为空")
- private String task_type;
- /**
- * 起始位置
- */
- @NotEmpty(message = "起始位置不能为空")
- private String from_location;
- /**
- * 目标位置
- */
- @NotEmpty(message = "目标位置不能为空")
- private String to_location;
- /**
- *
- */
- private String reserved_field01;
- /**
- *
- */
- private String reserved_field02;
- /**
- *
- */
- private String reserved_field03;
- /**
- *
- */
- private String reserved_field04;
- /**
- *
- */
- private String reserved_field05;
- /**
- * 任务下发时间
- */
- @NotNull(message = "任务下发时间不能为空")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private Date time;
- }
|