@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (Objects.isNull(o) || getClass() != o.getClass()) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }
        ScaleRuleDO that = (ScaleRuleDO) o;
        return Objects.equals(metricName, that.metricName)
                && Objects.equals(type, that.type)
                && Objects.equals(sort, that.sort)
                && Objects.equals(status, that.status)
                && Objects.equals(minimum, that.minimum)
                && Objects.equals(maximum, that.maximum);
    }
build ScaleRuleDO.

@param scaleRuleDTO scaleRuleDTO
@return ScaleRuleDO
shenyu-admin/src/main/java/org/apache/shenyu/admin/model/entity/ScaleRuleDO.java