2022-06-10 17:53:32 +02:00
|
|
|
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)
|
2022-06-11 12:53:55 +02:00
|
|
|
count_groups = db.Column(db.Integer, default=1, nullable=False)
|
2022-06-10 17:53:32 +02:00
|
|
|
mode = db.Column(db.Boolean, default=True, nullable=False) # True - stationary, False - non-stationary
|