system-pri/backend/app/project_supervisor/schemas.py

17 lines
436 B
Python
Raw Normal View History

from marshmallow import fields, validate, Schema
# MessageSchema, CommitteeCreateSchema
class MessageSchema(Schema):
message = fields.Str()
class CommitteeCreateSchema(Schema):
project_supervisor_id = fields.Integer(required=True) # temporary field it will be removed in the future
# temporary class it will be removed in the future
class TemporaryProjectSupervisorSchema(Schema):
id = fields.Integer(required=True)