2019-05-18 19:47:47 +02:00
|
|
|
from marshmallow import fields, Schema
|
|
|
|
|
|
|
|
|
|
|
|
class WhatsitSchema(Schema):
|
2019-08-03 18:55:38 +02:00
|
|
|
"""Whatsit schema"""
|
2019-05-18 19:47:47 +02:00
|
|
|
|
2019-08-03 18:55:38 +02:00
|
|
|
whatsitId = fields.Number(attribute="whatsit_id")
|
|
|
|
name = fields.String(attribute="name")
|
|
|
|
purpose = fields.String(attribute="purpose")
|