Files
pms/pms_api_rest/datamodels/pms_property_search_param.py

11 lines
282 B
Python

from marshmallow import fields
from odoo.addons.datamodel.core import Datamodel
class PmsPropertySearchParam(Datamodel):
_name = "pms.property.search.param"
id = fields.Integer(required=False, allow_none=False)
name = fields.String(required=False, allow_none=False)