package DAO;

import model.Professor;
import model.Subject;
import java.sql.SQLException;
import java.util.List;

public interface ProfessorSubjectDAO {
    void assign(Long professor_id, Long subject_id) throws SQLException;

    void remove(Long professor_id, Long subject_id) throws SQLException;

    List<Professor> getProfessorsBySubject(Long subject_id) throws SQLException;

    List<Subject> getSubjectsByProfessor(Long professor_id) throws SQLException;
}