11 lines
396 B
Python
11 lines
396 B
Python
from ..dependencies import db
|
|
from ..base.models import Person, Base
|
|
|
|
|
|
class ProjectSupervisor(Base, Person):
|
|
__tablename__ = "project_supervisors"
|
|
|
|
limit_group = db.Column(db.Integer, default=1, nullable=False)
|
|
count_groups = db.Column(db.Integer, default=1, nullable=False)
|
|
mode = db.Column(db.Integer, default=0, nullable=False) # 0 - stationary, 1 - non-stationary, 2 - both
|