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

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "RPC 服务 - 调整价配置 Response DTO")
@Data
public class DeductRespDTO {

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

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

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

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

    @Schema(description = "是否省内")
    private String inState;

    @Schema(description = "调整价")
    private BigDecimal gradeAmount;

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

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

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

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

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