clinic/netforce_clinic/models/morbidity.py

12 lines
225 B
Python
Raw Permalink Normal View History

2014-10-01 17:33:21 +00:00
from netforce.model import Model, fields
class Morbidity(Model):
_name="clinic.morbidity"
_string="Morbidity"
_fields={
"name": fields.Char("Name",required=True,search=True),
}
Morbidity.register()