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.time.LocalDateTime;

@Schema(description = "管理后台 - 参数降级规则 Response VO")
@Data
public class DemoteRespVO {

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

    @Schema(description = "合同主键")
    private Long contractId;

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

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

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

    @Schema(description = "上限")
    private BigDecimal gradeUp;

    @Schema(description = "区间方式(字典：STLM_RNG_WY)")
    private String rangeWay;

    @Schema(description = "下限")
    private BigDecimal gradeDown;

    @Schema(description = "降级后物料名称")
    private String materialName;

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

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

    @Schema(description = "合同名称")
    private String contractName;

    @Schema(description = "合同编码")
    private String contractPaperNumber;
}
