package com.shkj.wms.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.shkj.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 等待点位逻辑数据对象 base_wait
 *
 * @author lch
 * @date 2023-07-09
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("base_wait")
public class BaseWait implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "主键", width = 20)
    private Long id;


    /**
     * 任务编号
     */
    @Excel(name = "任务编号", width = 20)
    private Long taskId;


    /**
     * 派生
     */
    @Excel(name = "派生", width = 20)
    private String derive;


    /**
     * 车型
     */
    @Excel(name = "车型", width = 20)
    private String vehicheModel;


    /**
     * 颜色
     */
    @Excel(name = "颜色", width = 20)
    private String color;


    /**
     * 后杠代码
     */
    @Excel(name = "后杠代码", width = 20)
    private String rearLocation;

    /**
     * 后杠代码
     */
    @Excel(name = "前杠代码", width = 20)
    private String frontLocation;

    /**
     * 后杠代码
     */
    @Excel(name = "前后保险杠 0-前 1-后", width = 20)
    private String location;


    /**
     * 位置代码
     */
    @Excel(name = "位置代码", width = 20)
    private String locationCode;


    /**
     * 小车ID
     */
    @Excel(name = "小车ID", width = 20)
    private String robotId;


    /**
     * 等待点位
     */
    @Excel(name = "等待点位", width = 20)
    private String waitPoint;


    /**
     * 排序
     */
    @Excel(name = "排序", width = 20)
    private Long sort;


    /**
     * 仓库ID
     */
    @Excel(name = "仓库ID", width = 20)
    private Long branchId;


    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @Excel(name = "创建人", width = 20)
    private String createBy;


}
