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.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 数据库任务记录表映射
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_app_task_bak", autoResultMap = true)
public class TAppTaskBak {
    /**
     * 任务ID
     */
    @TableId(value = "task_id")
    private String taskId;
    /**
     * 任务类型
     */
    @TableField(value = "task_type")
    private Integer taskType;
    /**
     * 任务状态
     */
    @TableField(value = "task_status")
    private Integer taskStatus;
    /**
     * 任务优先级
     */
    @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;
    /**
     * wcs任务id
     */
    @TableField(value = "wcs_task_id")
    private String wcsTaskId;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    /**
     * 完成时间
     */
    @TableField(value = "finish_time")
    private LocalDateTime finishTime;
    /**
     * 料号
     */
    @TableField(value = "goods_id")
    private String goodsId;
    /**
     * 操作数量
     */
    @TableField(value = "op_num")
    private Integer opNum;
    /**
     * 库存数量
     */
    @TableField(value = "stock_num")
    private Integer stockNum;
    /**
     * 操纵用户
     */
    @TableField(value = "op_user")
    private String opUser;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
    /**
     * 申请出库的站台
     */
    @TableField(value = "call_stand")
    private String callStand;
    /**
     * 物料描述
     */
    @TableField(value = "goods_desc")
    private String goodsDesc;
    /**
     * 条码
     */
    @TableField(value = "bar_code")
    private String barCode;
    /**
     * Mes任务单号
     */
    @TableField(value = "mes_id")
    private String mesId;
}
