package com.zt.plat.module.contractorder.controller.admin.purchaseorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@Schema(description = "管理后台 - 物料响应 VO")
public class MaterialRespVO {
    @Schema(description = "订单号")
    private String orderNo;
    @Schema(description = "订单id")
    private String id;
    @Schema(description = "物料类型")
    private String materialType;
    @Schema(description = "物料单位")
    private String materialUnit;
    @Schema(description = "物料明细")
    private List<MaterialDetails> materialDetails;

    @Data
    public static class MaterialDetails {
        @Schema(description = "物料名称")
        private String materialName;
        @Schema(description = "物料编码")
        private String materialCode;
        @Schema(description = "物料类型")
        private String materialType;
        @Schema(description = "物料单位")
        private String materialUnit;
    }
}
