31 lines
537 B
JSON
31 lines
537 B
JSON
{
|
|
"name": "Department",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "department"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"id": true,
|
|
"type": "Number"
|
|
},
|
|
"name": {
|
|
"type": "String"
|
|
},
|
|
"parentFk": {
|
|
"type": "Number"
|
|
},
|
|
"lft": {
|
|
"type": "Number"
|
|
},
|
|
"rgt": {
|
|
"type": "Number"
|
|
},
|
|
"sons": {
|
|
"type": "Number"
|
|
}
|
|
}
|
|
}
|