package com.bonus.canteen.core.supply.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

@ApiModel(
   value = "DrpSupplierScoreRuleSection对象",
   description = "供应商评分规则区间分数设定表"
)
public class DrpSupplierScoreRuleSection {
   @ApiModelProperty("主键id")
   private Long id;
   @ApiModelProperty("规则id")
   private Long ruleId;
   @ApiModelProperty("左端值")
   private BigDecimal leftValue;
   @ApiModelProperty("右端值")
   private BigDecimal rightValue;
   @ApiModelProperty("区间设定分数")
   private BigDecimal sectionScore;

   public Long getId() {
      return this.id;
   }

   public Long getRuleId() {
      return this.ruleId;
   }

   public BigDecimal getLeftValue() {
      return this.leftValue;
   }

   public BigDecimal getRightValue() {
      return this.rightValue;
   }

   public BigDecimal getSectionScore() {
      return this.sectionScore;
   }

   public DrpSupplierScoreRuleSection setId(final Long id) {
      this.id = id;
      return this;
   }

   public DrpSupplierScoreRuleSection setRuleId(final Long ruleId) {
      this.ruleId = ruleId;
      return this;
   }

   public DrpSupplierScoreRuleSection setLeftValue(final BigDecimal leftValue) {
      this.leftValue = leftValue;
      return this;
   }

   public DrpSupplierScoreRuleSection setRightValue(final BigDecimal rightValue) {
      this.rightValue = rightValue;
      return this;
   }

   public DrpSupplierScoreRuleSection setSectionScore(final BigDecimal sectionScore) {
      this.sectionScore = sectionScore;
      return this;
   }



   public String toString() {
      Long var10000 = this.getId();
      return "DrpSupplierScoreRuleSection(id=" + var10000 + ", ruleId=" + this.getRuleId() + ", leftValue=" + String.valueOf(this.getLeftValue()) + ", rightValue=" + String.valueOf(this.getRightValue()) + ", sectionScore=" + String.valueOf(this.getSectionScore()) + ")";
   }
}
