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