package com.zt.plat.module.contractorder.api.vo.contract;

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

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

@Schema(description = "管理后台 - 合同明细新增/修改 Request VO")
@Data
public class DetailSaveReqVO {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "物料名称", example = "物料名称")
    private String materialName;

    @Schema(description = "物料编码", example = "物料编码")
    private String materialNumber;

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

    @Schema(description = "计量单位", example = "吨")
    private String unit;

    @Schema(description = "含税单价", example = "28579")
    private BigDecimal inTaxUnitPrice;

    @Schema(description = "含税总价")
    private BigDecimal allInTaxUnitPrice;

    @Schema(description = "金属元素缩写", example = "金属元素缩写")
    private String elementAbbreviation;

    @Schema(description = "金属元素名称", example = "金属元素名称")
    private String elementName;

    @Schema(description = "金属元素编码", example = "金属元素编码")
    private String elementNumber;

    // 交货计划
    private List<PlanSaveReqVO> plans;
}