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 GradeRespVO {

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

    @Schema(description = "条款主键")
    private Long formulaId;

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

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

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

    @Schema(description = "品位单位")
    private String gradeUnit;

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

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

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

    @Schema(description = "默认计价品位")
    private BigDecimal gradeDefault;

    @Schema(description = "系数值")
    private BigDecimal settlementCoefficient;

    @Schema(description = "是否比例计算(字典:ERP_CTRT_YN)")
    private String useCoefficient;

    @Schema(description = "计价类型(字典:STLM_GRD_TP)")
    private String priceType;

    @Schema(description = "是否省内(字典:ERP_CTRT_YN)")
    private String inState;

    @Schema(description = "等级单价", example = "3565")
    private BigDecimal unitPrice;

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

    @Schema(description = "数据项类型(字典:GRD_CFG_TP)")
    private String configType;
}
