clinic/netforce_clinic/models/comorbidity.py

12 lines
233 B
Python
Raw Normal View History

2014-10-01 17:33:21 +00:00
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()