package com.kxs.store.api.model;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

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.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 客小爽仓库库存统计表(KxsWarehouseStock)表实体类
 *
 * @author 系统
 * @since 2024-01-08 09:46:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsWarehouseStock extends Model<KxsWarehouseStock> implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    
    
    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Integer id;


    /**
     * 新增时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "新增时间")
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;


    /**
     * 删除标记，0未删除，1已删除
     */
    @Schema(description = "删除标记，0未删除，1已删除")
    private String delFlag;


    /**
     * 版本
     */
    @Schema(description = "版本")
    private Integer version;


    /**
     * 总库存数
     */
    @Schema(description = "总库存数")
    private Integer stockTotal;


    /**
     * 库存数
     */
    @Schema(description = "库存数")
    private Integer stockNum;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Integer userId;

    /**
     * 仓库ID
     */
    @Schema(description = "仓库ID")
    private Integer warehouseId;

    /**
     * 出库总数
     */
    @Schema(description = "出库总数")
    private Integer deliveryNum;


    /**
     * 分仓数量
     */
    @Schema(description = "分仓数量")
    private Integer branchNum;




}

