AgvTask.java 3.81 KB
package com.huaheng.pc.agv.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】表 agv_task
 *
 * @author huaheng
 * @date 2022-08-18
 */
@TableName(value = "agv_task")
@Data
public class AgvTask implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 内部任务类型
     */
    @TableField(value = "InternalTaskType")
    private Long InternalTaskType;
    /**
     * 100 搬运任务,200行走任务,300 取货任务,400放货任务;
     */
    @TableField(value = "taskType")
    private String taskType;
    /**
     * $column.columnComment
     */
    @TableField(value = "companyCode")
    private String companyCode;
    /**
     * $column.columnComment
     */
    @TableField(value = "warehouseCode")
    private String warehouseCode;
    /**
     * 开始点位
     */
    @TableField(value = "fromPort")
    private String fromPort;
    /**
     * 结束点位
     */
    @TableField(value = "toPort")
    private String toPort;
    /**
     * 容器号
     */
    @TableField(value = "containerCode")
    private String containerCode;
    /**
     * agv任务状态 1生成 10下发 20执行 100 完成
     */
    @TableField(value = "status")
    private Long status;
    /**
     * 小车编号
     */
    @TableField(value = "carNo")
    private Long carNo;
    /**
     * 任务优先级
     */
    @TableField(value = "priority")
    private Long priority;
    /**
     * $column.columnComment
     */
    @TableField(value = "taskHeaderId")
    private Long taskHeaderId;
    /**
     * $column.columnComment
     */
    @TableField(value = "taskDetailId")
    private Long taskDetailId;
    /**
     * 前置任务号
     */
    @TableField(value = "preTaskNo")
    private Long preTaskNo;
    /**
     * 货架编码
     */
    @TableField(value = "shelfNo")
    private Long shelfNo;
    /**
     * 站台编码
     */
    @TableField(value = "station")
    private String station;
    /**
     * 方向
     */
    @TableField(value = "orientation")
    private String orientation;
    /**
     * 交互标识
     */
    @TableField(value = "interactionId")
    private Long interactionId;
    /**
     * 平台
     */
    @TableField(value = "platform")
    private String platform;
    /**
     * 仓库ID
     */
    @TableField(value = "warehouseId")
    private Long warehouseId;
    /**
     * 公司ID
     */
    @TableField(value = "companyId")
    private Long companyId;
    /**
     * 创建时间
     */
    @TableField(value = "createdTime")
    private Date createdTime;
    /**
     * 创建者
     */
    @TableField(value = "createdBy")
    private String createdBy;
    /**
     * 更新时间
     */
    @TableField(value = "updated")
    private Date updated;
    /**
     * 更新者
     */
    @TableField(value = "updatedBy")
    private String updatedBy;

    /**
     * ALTER TABLE `wanbao`.`agv_task`
     * ADD COLUMN `fromWorkStationId` varchar(50) NULL COMMENT '起始工位' AFTER `toPort`,
     * ADD COLUMN `toWorkStationId` varchar(50) NULL COMMENT '目的工位' AFTER `fromWorkStationId`;
     */
    @TableField(value = "fromWorkStationId")
    private String fromWorkStationId;

    @TableField(value = "toWorkStationId")
    private String toWorkStationId;

}