package com.maintain.business.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import com.maintain.common.convert.ExcelDictConvert;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.math.BigDecimal;
import com.maintain.common.core.domain.BaseEntity;

/**
 * 物料库存记录对象 erp_material_inventory_record
 *
 * @author liushuai
 * @date 2025-07-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("erp_material_inventory_record")
public class ErpMaterialInventoryRecord extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 明细ID（入库|退货|出库|退料）
     */
    private Long infoId;
    /**
     * 物料ID
     */
    private Long materialId;
    /**
     * 部门ID
     */
    private Long deptId;
    /**
     * 仓库ID
     */
    private Long warehouseId;
    /**
     * 数量
     */
    private BigDecimal number;
    /**
     * 单价
     */
    private BigDecimal price;
    /**
     * 金额
     */
    private BigDecimal money;
    /**
     * 类型（1入库2退货3出库4退料）
     */
    private String type;
    /**
     * 创建部门(数据权限)
     */
    private Long createDeptId;

}
