package cn.iocoder.yudao.module.system.controller.admin.biz.vo.materialio.inbound;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class MaterialInboundImportExcelVO {

    @ExcelProperty("入库单号")
    private String orderNo;

    @ExcelProperty("入库日期(yyyy-MM-dd)")
    private LocalDate orderDate;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("物资编号")
    private String materialNumber;

    @ExcelProperty("入库仓库编号")
    private String refInStoreNumber;

    @ExcelProperty("数量")
    private BigDecimal quantity;

    @ExcelProperty("入库单价")
    private BigDecimal inUnitPrice;

    @ExcelProperty("金额")
    private BigDecimal amount;

    @ExcelProperty("生产日期(yyyy-MM-dd)")
    private LocalDate produceDate;
}

