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

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

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 结算金额拆分 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AmountDismantleRespVO {

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

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

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

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

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

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

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

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

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

}