package com.maintain.business.domain;

import com.baomidou.mybatisplus.annotation.*;
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_returns_info
 *
 * @author liushuai
 * @date 2025-04-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("erp_material_returns_info")
public class ErpMaterialReturnsInfo extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 明细主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 退货表ID
     */
    private Long returnsId;
    /**
     * 入库明细ID
     */
    private Long putawayInfoId;
    /**
     * 物资分类ID
     */
    private Long materialTypeId;
    /**
     * 物资分类名称
     */
    private String materialTypeName;
    /**
     * 仓库货位ID
     */
    private Long warehouseLocationId;
    /**
     * 仓库货位类型
     */
    private String warehouseLocationType;
    /**
     * 供应商ID
     */
    private Long vendorId;
    /**
     * 供应商名称
     */
    private String vendorName;
    /**
     * 物料ID
     */
    private Long materialId;
    /**
     * 物资编码
     */
    private String materialCode;
    /**
     * 物资名称
     */
    private String materialName;
    /**
     * 物资规格
     */
    private String materialSpecifications;
    /**
     * 物资单位
     */
    private String materialUnit;
    /**
     * 质保期（月）
     */
    private Integer materialWarrantyPeriod;
    /**
     * 参考价
     */
    private BigDecimal referencePrice;
    /**
     * 销售价
     */
    private BigDecimal sellingPrice;
    /**
     * 退货数量
     */
    private BigDecimal returnsNumber;
    /**
     * 退货单价
     */
    private BigDecimal returnsPrice;
    /**
     * 退货金额
     */
    private BigDecimal returnsMoney;

}
