package com.wms_main.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 数据库wcs任务表映射
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_app_wcs_task", autoResultMap = true)
public class TAppWcsTask {
    /**
     * wcs任务id
     */
    @TableId(value = "wcs_task_id")
    private String wcsTaskId;
    /**
     * wcs任务状态
     */
    @TableField(value = "wcs_task_status")
    private Integer wcsTaskStatus;
    /**
     * wcs任务类型
     */
    @TableField(value = "wcs_task_type")
    private Integer wcsTaskType;
    /**
     * wcs任务优先级
     */
    @TableField(value = "task_priority")
    private Integer taskPriority;
    /**
     * 载具号
     */
    @TableField(value = "vehicle_id")
    private String vehicleId;
    /**
     * 起点
     */
    @TableField(value = "origin")
    private String origin;
    /**
     * 终点
     */
    @TableField(value = "destination")
    private String destination;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    /**
     * 发送时间
     */
    @TableField(value = "send_time")
    private LocalDateTime sendTime;
    /**
     * 完成时间
     */
    @TableField(value = "finish_time")
    private LocalDateTime finishTime;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}
