clinic/netforce_clinic/models/comorbidity.py

12 lines
233 B
Python

from netforce.model import Model, fields
class Comorbidity(Model):
_name="clinic.comorbidity"
_string="Comorbidity"
_fields={
"name": fields.Char("Name",required=True,search=True),
}
Comorbidity.register()