package com.fjhx.entity;

import com.fjhx.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 出入库流水记录
 * </p>
 *
 * @author ${author}
 * @since 2022-08-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class StockJournal extends BaseEntity {

    /**
     * 出入库类型 0出库 1入库
     */
    private Integer type;

    /**
     * 详细类型
     */
    private Integer detailsType;

    /**
     * 物品id
     */
    private Long goodsId;

    /**
     * 仓库id
     */
    private Long warehouseId;

    /**
     * 变更数量
     */
    private BigDecimal changeQuantity;

    /**
     * 备注
     */
    private String remarks;


}
