Files
pms/pms_api_rest/datamodels/pms_search_param.py

11 lines
283 B
Python

from marshmallow import fields
from odoo.addons.datamodel.core import Datamodel
class PmsSearchParam(Datamodel):
_name = "pms.search.param"
pmsPropertyId = fields.Integer(required=False, allow_none=True)
pmsPropertyIds = fields.List(fields.Integer(), required=False)