package com.maintain.business.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.maintain.common.annotation.ExcelDictFormat;
import com.maintain.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 结算物料明细视图对象 erp_settlement_material_info
 *
 * @author liushuai
 * @date 2025-04-16
 */
@Data
@ExcelIgnoreUnannotated
public class ErpSettlementMaterialInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物资分类名称
     */
    @ExcelProperty(value = "物资分类名称")
    private String materialTypeName;

    /**
     * 仓库名称
     */
    @ExcelProperty(value = "仓库名称")
    private String warehouseName;

    /**
     * 仓库货位类型
     */
    @ExcelProperty(value = "仓库货位类型")
    private String warehouseLocationType;

    /**
     * 供应商名称
     */
    @ExcelProperty(value = "供应商名称")
    private String vendorName;

    /**
     * 物料ID
     */
    @ExcelProperty(value = "物料ID")
    private Long materialId;

    /**
     * 物资编码
     */
    @ExcelProperty(value = "物资编码")
    private String materialCode;

    /**
     * 物资名称
     */
    @ExcelProperty(value = "物资名称")
    private String materialName;

    /**
     * 物资规格
     */
    @ExcelProperty(value = "物资规格")
    private String materialSpecifications;

    /**
     * 物资单位
     */
    @ExcelProperty(value = "物资单位")
    private String materialUnit;

    /**
     * 质保期（月）
     */
    @ExcelProperty(value = "质保期", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "月=")
    private Integer materialWarrantyPeriod;

    /**
     * 结算数量
     */
    @ExcelProperty(value = "结算数量")
    private BigDecimal settlementNumber;

    /**
     * 结算单价
     */
    @ExcelProperty(value = "结算单价")
    private BigDecimal settlementPrice;

    /**
     * 结算金额
     */
    @ExcelProperty(value = "结算金额")
    private BigDecimal settlementMoney;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private Integer state;


}
