package dao;

import pojo.ScoreInfo;

import java.util.ArrayList;

public interface ScoreDB {
    ScoreInfo getScoreInfoByID(int studentID, int courseID);
    ArrayList<ScoreInfo> getScoreInfoByStudentID(int studentID);
    ArrayList<ScoreInfo> getScoreInfoByCourseID(int courseID);
    int getScoreByStudentID(int studentID);
    int addScoreInfo(ScoreInfo scoreInfo);
    int updateScoreInfo(ScoreInfo scoreInfo);
    int deleteScoreInfo(int studentID, int courseID);
}
