package com.viettel.campaign.repository.ccms_full;

import com.viettel.campaign.model.ccms_full.Scenario;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author anhvd_itsol
 */

@Repository
public interface ScenarioRepository extends JpaRepository<Scenario, Long> {
    Scenario findScenarioByCampaignIdAndCompanySiteId(Long campaignId, Long companySiteId);
}
