Coverage for app/models/attachmentUpload.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-10-02 17:57 +0000

1from app.models import* 

2from app.models.event import Event 

3from app.models.course import Course 

4from app.models.otherExperience import OtherExperience 

5 

6 

7class AttachmentUpload(baseModel): 

8 event = ForeignKeyField(Event, null=True) 

9 course = ForeignKeyField(Course, null=True) 

10 isDisplayed = BooleanField(default=False) 

11 fileName = CharField() 

12