package vip.xiaonuo.warehouse.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 仓库库存明细表
 * </p>
 *
 * @author author
 * @since 2024-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("warehouse_stock_detail")
public class WarehouseStockDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 物料编码
     */
    @ApiModelProperty(value = "物料编码", position =1)
    private Integer materialCode;

    /**
     * 物料名称
     */
    @ApiModelProperty(value = "物料名称", position =2)
    private String materialName;

    /**
     * 库存量
     */
    @ApiModelProperty(value = "库存量", position =3)
    private String materialNumber;

    /**
     * 规格型号
     */
    @ApiModelProperty(value = "规格型号", position =4)
    private String materialModel;

    /**
     * 存放仓库
     */
    @ApiModelProperty(value = "存放仓库", position =5)
    private String stockName;

    /**
     * 待检数量
     */
    @ApiModelProperty(value = "待检数量", position =6)
    private String materialCheck;

    /**
     * 上日结存
     */
    @ApiModelProperty(value = "上日结存", position =7)
    private String lastNumber;

    /**
     * 当日入库
     */
    @ApiModelProperty(value = "当日入库", position =8)
    private String incomeNumber;

    /**
     * 当日出库
     */
    @ApiModelProperty(value = "当日出库", position =9)
    private String outNumber;

    /**
     * 当日结存
     */
    @ApiModelProperty(value = "当日结存", position =10)
    private String dayNumber;

    /**
     * 组织id
     */
    @ApiModelProperty(value = "组织id", position =11)
    private String orgId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", position =12)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;



}
