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