package cn.iocoder.yudao.module.mes.controller.admin.itemrequisition.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 领料明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ItemRequisitionDetailRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28224")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "产品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8370")
    private Long productId;
    @Schema(description = "产品", requiredMode = Schema.RequiredMode.REQUIRED, example = "8370")
    @ExcelProperty("产品")
    private String productName;
    @Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "1117")
    private String unitName;
    @Schema(description = "单位ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1117")
    @ExcelProperty("单位ID")
    private Long unitId;

    @Schema(description = "领料单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18973")
    @ExcelProperty("领料单ID")
    private Long itemRequisitionId;

    @Schema(description = "数量")
    @ExcelProperty("数量")
    private BigDecimal number;

    @Schema(description = "数量")
    @ExcelProperty("投料完成数量")
    private BigDecimal finishNumber;

    @Schema(description = "备注", example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

}