Location.java 4.71 KB
package com.huaheng.pc.config.location.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 java.io.Serializable;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "location")
public class Location implements Serializable {
    /**
     * ID
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 货位
     */
    @TableField(value = "code")
    private String code;

    /**
     * 仓库
     */
    @TableField(value = "warehouseCode")
    private String warehouseCode;

    /**
     * 区域
     */
    @TableField(value = "zoneCode")
    private String zoneCode;

    /**
     * 货位类型
     */
    @TableField(value = "locationType")
    private String locationType;

    /**
     * 容器编码
     */
    @TableField(value = "containerCode")
    private String containerCode;

    /**
     * 行
     */
    @TableField(value = "iRow")
    private Integer iRow;

    /**
     * 列
     */
    @TableField(value = "iColumn")
    private Integer iColumn;

    /**
     * 层
     */
    @TableField(value = "iLayer")
    private Integer iLayer;

    /**
     * 格
     */
    @TableField(value = "iGrid")
    private Integer iGrid;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 状态
     */
    @TableField(value = "status")
    private String status;

    /**
     * 上次盘点日期
     */
    @TableField(value = "lastCycleCountDate")
    private Date lastCycleCountDate;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 创建用户
     */
    @TableField(value = "createdBy")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "lastUpdated")
    private Date lastUpdated;

    /**
     * 更新用户
     */
    @TableField(value = "lastUpdatedBy")
    private String lastUpdatedBy;

    /**
     * 数据版本
     */
    @TableField(value = "version")
    private Integer version;

    /**
     * 自定义字段1
     */
    @TableField(value = "userDef1")
    private String userDef1;

    /**
     * 自定义字段2
     */
    @TableField(value = "userDef2")
    private String userDef2;

    /**
     * 自定义字段3
     */
    @TableField(value = "userDef3")
    private String userDef3;

    /**
     * 自定义字段4
     */
    @TableField(value = "userDef4")
    private String userDef4;

    /**
     * 自定义字段5
     */
    @TableField(value = "userDef5")
    private String userDef5;

    /**
     * 自定义字段6
     */
    @TableField(value = "userDef6")
    private String userDef6;

    /**
     * 自定义字段7
     */
    @TableField(value = "userDef7")
    private String userDef7;

    /**
     * 自定义字段8
     */
    @TableField(value = "userDef8")
    private String userDef8;

    @TableField(value = "systemCreated")
    private Integer systemCreated;

    @TableField(value = "deleted")
    private Boolean deleted;

    private static final long serialVersionUID = 1L;

    public static final String COL_CODE = "code";

    public static final String COL_WAREHOUSECODE = "warehouseCode";

    public static final String COL_ZONECODE = "zoneCode";

    public static final String COL_LOCATIONTYPE = "locationType";

    public static final String COL_CONTAINERCODE = "containerCode";

    public static final String COL_IROW = "iRow";

    public static final String COL_ICOLUMN = "iColumn";

    public static final String COL_ILAYER = "iLayer";

    public static final String COL_IGRID = "iGrid";

    public static final String COL_NAME = "name";

    public static final String COL_ENABLE = "enable";

    public static final String COL_LASTCYCLECOUNTDATE = "lastCycleCountDate";

    public static final String COL_CREATED = "created";

    public static final String COL_CREATEDBY = "createdBy";

    public static final String COL_LASTUPDATED = "lastUpdated";

    public static final String COL_LASTUPDATEDBY = "lastUpdatedBy";

    public static final String COL_VERSION = "version";

    public static final String COL_USERDEF1 = "userDef1";

    public static final String COL_USERDEF2 = "userDef2";

    public static final String COL_USERDEF3 = "userDef3";

    public static final String COL_USERDEF4 = "userDef4";

    public static final String COL_USERDEF5 = "userDef5";

    public static final String COL_USERDEF6 = "userDef6";

    public static final String COL_USERDEF7 = "userDef7";

    public static final String COL_USERDEF8 = "userDef8";

    public static final String COL_SYSTEMCREATED = "systemCreated";
}