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

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

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

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

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

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

    @Schema(description = "系数上限")
    private BigDecimal coefficientUp;

    @Schema(description = "系数下限")
    private BigDecimal coefficientDown;

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

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

    @Schema(description = "类型(字典：STLM_COEF)", example = "1")
    private String type;

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