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

8 statements  

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

1from app.models import* 

2from app.models.user import User 

3 

4class Note(baseModel): 

5 createdBy = ForeignKeyField(User) 

6 createdOn = DateTimeField() 

7 noteContent = CharField() 

8 isPrivate = BooleanField(default=False) 

9 noteType = CharField(null=True)