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

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

import java.math.BigDecimal;

@Schema(description = "金额分配响应DTO")
@Data
public class AmountSplitRespDTO {
    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "17357")
    private Long id;

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

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

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

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

    @Schema(description = "元素编码")
    private String elementCode;

    @Schema(description = "占比")
    private BigDecimal proportion;

    @Schema(description = "合同id", example = "3781")
    private Long contractId;
}
