Coverage for app/models/note.py: 100%
8 statements
« prev ^ index » next coverage.py v7.2.7, created at 2024-11-19 23:53 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2024-11-19 23:53 +0000
1from app.models import*
2from app.models.user import User
4class Note(baseModel):
5 createdBy = ForeignKeyField(User)
6 createdOn = DateTimeField()
7 noteContent = CharField()
8 isPrivate = BooleanField(default=False)
9 noteType = CharField(null=True)