package com.example.projectback.repository;

import com.example.projectback.model.Student;
import com.example.projectback.model.Subject;
import com.example.projectback.model.SubjectStudent;
import org.springframework.data.jpa.repository.JpaRepository;

public interface SubjectStudentRepository extends JpaRepository<SubjectStudent, Long> {
    SubjectStudent getByStudentAndSubject(Student student, Subject subject);
}
