package com.shkj.wms.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.shkj.common.annotation.Excel;
import com.shkj.wms.domain.BaseLocation;
import com.shkj.wms.domain.SysStockDetail;
import lombok.Data;

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


/**
 * 股票细节lmold签证官
 * 库存流水视图对象
 *
 * @author lch
 * @date 2022-04-09
 */
@Data
public class StockDetailMoldVo {
    private static final long serialVersionUID = 1L;
    /**
     * $column.columnComment
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "${comment}", width = 15)
    private Long id;


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


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


    /**
     * 库房区域ID
     */
    @Excel(name = "库房区域ID", width = 20)
    private Long areaId;


    /**
     * 产品编号
     */
    @Excel(name = "产品编号", width = 20)
    private String goodsNo;


    /**
     * 产品编号id
     */
    private Long goodsId;

    /**
     * 产品条码
     */
    @Excel(name = "产品条码", width = 20)
    private String barcode;


    /**
     * 托盘编号
     */
    private String containerCode;

    /**
     * 托盘id
     */
    private Long containerId;


    /**
     * 数量
     */
    @Excel(name = "数量", width = 20)
    private BigDecimal qty;


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

    /**
     * 库位
     */
    private String locationCode;


    /**
     * 入库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date inTime;


    /**
     * 出库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date outTime;

    /**
     * 入库预占库存
     */
    @Excel(name = "数量", width = 20)
    private BigDecimal inQty;

    /**
     * 出库预占库存
     */
    @Excel(name = "数量", width = 20)
    private BigDecimal outQty;

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


    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date updateTime;

    /**
     * 长
     */
    @Excel(name = "长", width = 20)
    private BigDecimal length;


    /**
     * 宽
     */
    @Excel(name = "宽", width = 20)
    private BigDecimal width;


    /**
     * 高
     */
    @Excel(name = "高", width = 20)
    private BigDecimal height;


    /**
     * 体积
     */
    @Excel(name = "体积", width = 20)
    private BigDecimal volume;

    /**
     * 排
     */
    @Excel(name = "排", width = 20)
    private String locationRow;


    /**
     * 层
     */
    @Excel(name = "层", width = 20)
    private String layer;


    /**
     * 列
     */
    @Excel(name = "列", width = 20)
    private String locationColumn;



}
