package dp.kotul.templategroupsbackend.repository

import dp.kotul.templategroupsbackend.model.entity.TemplateGroup
import dp.kotul.templategroupsbackend.model.entity.TemplateGroupVariable
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository

@Repository
interface TemplateGroupVariableRepository : JpaRepository<TemplateGroupVariable, Int> {
    fun getTemplateGroupVariablesByTemplateGroup(templateGroupId: TemplateGroup): List<TemplateGroupVariable>
}
