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

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

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

@Schema(description = "管理后台 - 合同明细 Response VO")
@Data
public class DetailRespDTO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "29552")
    private Long id;

    @Schema(description = "合同主信息主键", example = "5927")
    private Long contractMainId;

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

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

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

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

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

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

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

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

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

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

    @Schema(description = "牌号")
    private String brandNo;

    @Schema(description = "规格")
    private String specification;

    @Schema(description = "厚度")
    private String depth;

    @Schema(description = "长度")
    private String length;

    // 中文牌名
    @Schema(description = "中文牌名")
    private String chineseNo;

    // 英文牌名
    @Schema(description = "英文牌名")
    private String englishNo;

    // 技术规格
    @Schema(description = "技术规格")
    private String technicalSpecification;

    // 技术标准1
    @Schema(description = "技术标准1")
    private String technicalStandard1;

    // 技术标准2
    @Schema(description = "技术标准2")
    private String technicalStandard2;

    // 线别
    @Schema(description = "线别")
    private String lineLevel;

    // 包装
    @Schema(description = "包装")
    private String pack;


    @Schema(description = "交货计划")
    private List<PlanRespDTO> plans;
}
