feat: Implement course gradebook with cohort filtering, CSV export, and extend analytics with cohort selection.
This commit is contained in:
@@ -481,6 +481,16 @@ pub struct AddMemberPayload {
|
||||
pub user_id: Uuid,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, sqlx::FromRow, Clone)]
|
||||
pub struct StudentGradeReport {
|
||||
pub user_id: Uuid,
|
||||
pub full_name: String,
|
||||
pub email: String,
|
||||
pub progress: f32,
|
||||
pub average_score: Option<f32>,
|
||||
pub last_active_at: Option<DateTime<Utc>>,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
Reference in New Issue
Block a user