Location.java 3.71 KB
package com.huaheng.pc.config.location.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import lombok.Data;
import org.springframework.transaction.annotation.Transactional;

@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 = "rowFlag")
    private Integer rowFlag;

    /**
     * 巷道
     */
    @TableField(value = "roadway")
    private String roadway;

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

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

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

    /**
     * 创建时间
     */
    @TableField(value = "created", fill = FieldFill.INSERT)
    private Date created;

    /**
     * 创建用户
     */
    @TableField(value = "createdBy", fill = FieldFill.INSERT)
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "lastUpdated", fill = FieldFill.INSERT_UPDATE)
    private Date lastUpdated;

    /**
     * 更新用户
     */
    @TableField(value = "lastUpdatedBy", fill = FieldFill.INSERT_UPDATE)
    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;


    @TableField(exist = false)
    private List<String> materialCode;

    @TableField(exist = false)
    private List<String> materialName;

    @TableField(exist = false)
    private List<String> batch;

    @TableField(exist = false)
    private List<BigDecimal> qty;

    private static final long serialVersionUID = 1L;
}