package com.apobates.forum.member.dao;

import com.apobates.forum.member.entity.ForumScoreRole;
import com.apobates.forum.utils.persistence.DataRepository;
import java.util.stream.Stream;

/**
 * 积分规则的持久层接口
 *
 * @author xiaofanku
 * @since 20200515
 */
public interface ForumScoreRoleDao extends DataRepository<ForumScoreRole, Integer> {
    /**
     * 查看所有可用的积分规则
     *
     * @return
     */
    Stream<ForumScoreRole> findAllUsed();
}
