salix/modules/worker/back/models/department.json

37 lines
670 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"
},
"chatName": {
"type": "String"
},
"notificationEmail": {
"type": "String"
}
}
}