package com.mosquito.project.persistence.repository;

import com.mosquito.project.persistence.entity.MultiLevelRewardRuleEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MultiLevelRewardRuleRepository extends JpaRepository<MultiLevelRewardRuleEntity, Long> {
    List<MultiLevelRewardRuleEntity> findByActivityIdOrderByLevelAsc(Long activityId);
}

