40 lines
728 B
JSON
40 lines
728 B
JSON
{
|
|
"name": "Department",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "department"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"id": true,
|
|
"type": "number"
|
|
},
|
|
"code": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"parentFk": {
|
|
"type": "number"
|
|
},
|
|
"lft": {
|
|
"type": "number"
|
|
},
|
|
"rgt": {
|
|
"type": "number"
|
|
},
|
|
"sons": {
|
|
"type": "number"
|
|
},
|
|
"chatName": {
|
|
"type": "string"
|
|
},
|
|
"notificationEmail": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|