clinic/netforce_clinic/models/patient_categ.py

13 lines
291 B
Python
Raw Normal View History

2014-11-01 08:49:27 +00:00
from netforce.model import Model, fields
class PatientCateg(Model):
_name="clinic.patient.categ"
_string="Patient Category"
_fields={
"name": fields.Char("Name",required=True,search=True),
"code": fields.Char("Code",search=True),
}
PatientCateg.register()