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

8 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-07-31 16:31 +0000

1from app.models import * 

2from app.models.user import User 

3from app.models.note import Note 

4 

5class ProfileNote(baseModel): 

6 user = ForeignKeyField(User) 

7 note = ForeignKeyField(Note, null=False) 

8 isBonnerNote = BooleanField(default=False) 

9 viewTier = IntegerField(default=3)