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

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

import java.math.BigDecimal;

@Schema(description = "管理后台 - 品位等级价配置新增/修改 Request VO")
@Data
public class GradeSaveReqVO {

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

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

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

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

    @Schema(description = "金属元素名称", example = "王五")
    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)", example = "2")
    private String priceType;

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

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

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