2022-10-27 15:59:02 +02:00
|
|
|
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)
|