38 lines
780 B
JSON
38 lines
780 B
JSON
{
|
|
"name": "QueueMember",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "pbx.queueMember"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "number",
|
|
"id": true
|
|
},
|
|
"queue": {
|
|
"type": "string"
|
|
},
|
|
"extension": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"relations": {
|
|
"queueRelation": {
|
|
"type": "belongsTo",
|
|
"model": "Queue",
|
|
"foreignKey": "queue",
|
|
"primaryKey": "name"
|
|
}
|
|
},
|
|
"acls": [
|
|
{
|
|
"property": "*",
|
|
"accessType": "READ",
|
|
"principalType": "ROLE",
|
|
"principalId": "employee",
|
|
"permission": "ALLOW"
|
|
}
|
|
]
|
|
} |