Coverage for app/models/courseParticipant.py: 100%
7 statements
« prev ^ index » next coverage.py v7.2.7, created at 2024-09-03 17:48 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2024-09-03 17:48 +0000
1from app.models import*
2from app.models.course import Course
3from app.models.user import User
5class CourseParticipant(baseModel):
6 course = ForeignKeyField(Course)
7 user = ForeignKeyField(User)
8 hoursEarned = FloatField()