clinic/netforce_clinic/models/patient_schedule.py

16 lines
328 B
Python
Raw Normal View History

2014-10-07 13:22:18 +00:00
import time
from netforce.model import Model, fields
class PatientSchedule(Model):
_name="clinic.patient.schedule"
_string="Patient Schedule"
_fields={
"patient_id": fields.Many2One("clinic.patient","Patient",required=True,on_delete="cascade"),
}
_defaults={
}
PatientSchedule.register()