using Entities.DTO;
using TechHelper.Services;

namespace TechHelper.Server.Services
{
    public interface IStudentSubmissionService : IBaseService<StudentSubmissionSummaryDto, Guid>
    {
        /// <summary>
        /// 获取学生提交的作业摘要列表
        /// </summary>
        /// <param name="studentId">学生ID</param>
        /// <returns>学生提交摘要列表</returns>
        Task<ApiResponse> GetStudentSubmissionsAsync(Guid studentId);

        /// <summary>
        /// 获取学生提交的作业摘要列表（分页）
        /// </summary>
        /// <param name="studentId">学生ID</param>
        /// <param name="pageNumber">页码</param>
        /// <param name="pageSize">每页数量</param>
        /// <returns>分页的学生提交摘要列表</returns>
        Task<ApiResponse> GetStudentSubmissionsPagedAsync(Guid studentId, int pageNumber = 1, int pageSize = 10);
    }
}
