models: add default_qry_str to Journal_Entry_Base for API responses
This commit is contained in:
@@ -102,6 +102,7 @@ class Journal_Entry_Base(BaseModel):
|
|||||||
notes: Optional[str]
|
notes: Optional[str]
|
||||||
created_on: Optional[datetime.datetime] = None
|
created_on: Optional[datetime.datetime] = None
|
||||||
updated_on: Optional[datetime.datetime] = None
|
updated_on: Optional[datetime.datetime] = None
|
||||||
|
default_qry_str: Optional[str] = None # Default query string used for searching and filtering journal entries
|
||||||
|
|
||||||
# Including other related objects
|
# Including other related objects
|
||||||
# This is only for convenience. Probably going to keep unless it causes a problem.
|
# This is only for convenience. Probably going to keep unless it causes a problem.
|
||||||
|
|||||||
Reference in New Issue
Block a user