Initial Commit
This commit is contained in:
9
api/app/models/common/base.py
Normal file
9
api/app/models/common/base.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from helpers.database import db
|
||||
|
||||
from safrs import SAFRSBase
|
||||
from safrs.api_methods import search
|
||||
|
||||
|
||||
class BaseModel(SAFRSBase, db.Model):
|
||||
__abstract__ = True
|
||||
SAFRSBase.search = search
|
||||
Reference in New Issue
Block a user