package com.sqx.modules.artificerselfgoods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author bai
 * @date 2024/06/08
 */
@Data
@TableName("bl_artificer_self_goods_entry_exit_records")
public class BlArtificerSelfGoodsEntryExitRecords implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 创建人
     */
    private String createAt;

    /**
     * 商品ID [self_goods.id]
     */
    private Long selfGoodsId;

    /**
     * 商品标题 [self_goods.title]
     */
    private String selfGoodsTitle;

    /**
     * 商品类型ID [goods_type.id]
     */
    private String selfGoodsTypeId;

    /**
     * 商品类型父ID [goods_type.parent_id]
     */
    private String selfGoodsTypeParentId;

    /**
     * 技师ID[artificer.id]
     */
    private String artificerId;

    /**
     * 变更后库存量
     */
    private Integer afterTheChangeNum;

    /**
     * 变更前库存量
     */
    private Integer beforeTheChangeNum;

    /**
     * 本次变更量
     */
    private Integer changeNum;

    /**
     * 操作类型(1:入库,2:出库,3:修改库)
     */
    private Integer operationType;

    /**
     * 购入价格(元)
     */
    private BigDecimal purchasePrice;

    /**
     * 客户ID
     */
    private String userId;

    /**
     * 备注
     */
    private String remark;

}