package com.dowstats.data.repositories

import com.dowstats.data.entities.addon.BuildingAddon
import com.dowstats.data.entities.research.Research
import org.springframework.data.repository.CrudRepository

interface AddonRepository : CrudRepository<BuildingAddon, Long>{
    fun findAllByModId(modId: Long): List<BuildingAddon>
    fun findFirstByModIdAndFilename(modId: Long, fileName: String): BuildingAddon?
}