Task.java 1.64 KB
package com.huaheng.control.management.dto;

import javax.validation.constraints.NotNull;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "任务信息对象")
public class Task {

    @Schema(description = "任务ID")
    @NotNull()
    private String taskId;

    @Schema(description = "任务状态")
    @NotNull()
    private String taskStatus;
    
    @Schema(description = "上报人")
    private String reporter;

    @Schema(description = "异常信息")
    private String exceptionMessage;

    @Schema(description = "异常处理方案")
    private String exceptionHandlePlan;

    /** WMS start */
    @Schema(description = "任务类型")
    private String taskType;

    @Schema(description = "任务优先级")
    private String taskPriority;

    @Schema(description = "单据编码")
    private String orderCode;

    @Schema(description = "任务起始位置")
    private String fromLocation;

    @Schema(description = "任务目标位置")
    private String toLocation;

    @Schema(description = "托盘编码")
    private String containerCode;

    /** WCS start */
    @Schema(description = "任务执行顺序")
    private String taskExecutionOrder;

    @Schema(description = "托盘当前位置")
    private String containerCurrentLocation;

    @Schema(description = "设备运行模式")
    private String operationMode;

    @Schema(description = "设备当前位置")
    private String currentPosition;

    /** 自动写入 */
    @Schema(description = "时间戳")
    private Long timestamp;

    @Schema(description = "格式化时间戳")
    private String timestampFormat;
}