Overview
TheStudent data class represents a student enrolled in the TecNM system, containing their personal information, academic details, and current progress.
Data Class Definition
Properties
Unique identifier for the student in the system.
Student’s control number (enrollment ID). This is the official identifier used by the institution.Example:
"226W0487"Full name of the student.Example:
"Arlyn Alfaro"Name of the student’s academic program or career path.Example:
"Ingeniería en Sistemas Computacionales"Current semester number the student is enrolled in.Example:
8Student’s cumulative grade point average.Example:
92.5Usage Example
Usage in the App
TheStudent model is primarily used in:
- Profile Screen (
ProfileScreen.kt): Displays student information including:- Control number
- Current semester (shown in a stat card)
- Grade average (displayed prominently)
- Career information
The profile screen accesses student data via
FakeData.studentand presents it in various UI components like StatCard and CareerCard.
Related Models
- ClassSession - Represents a class that a student attends
- Building - Represents campus buildings where classes take place
