12 lines
225 B
Python
12 lines
225 B
Python
|
from netforce.model import Model, fields
|
||
|
|
||
|
class Education(Model):
|
||
|
_name="clinic.education"
|
||
|
_string="Education"
|
||
|
|
||
|
_fields={
|
||
|
"name": fields.Char("Name",required=True,search=True),
|
||
|
}
|
||
|
|
||
|
Education.register()
|