@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;
        }
        ScalePolicyDO that = (ScalePolicyDO) o;
        return Objects.equals(sort, that.sort)
                && Objects.equals(status, that.status)
                && Objects.equals(num, that.num)
                && Objects.equals(beginTime, that.beginTime)
                && Objects.equals(endTime, that.endTime);
    }
Sets the endTime.

@param endTime endTime
shenyu-admin/src/main/java/org/apache/shenyu/admin/model/entity/ScalePolicyDO.java