salix/modules/account/back/models/sip.json

31 lines
608 B
JSON

{
"name": "Sip",
"base": "VnModel",
"options": {
"mysql": {
"table": "pbx.sip"
}
},
"properties": {
"userFk": {
"type": "number",
"id": true,
"description": "The user id",
"mysql": {
"columnName": "user_id"
}
},
"extension": {
"type": "string",
"required": true
}
},
"relations": {
"user": {
"type": "belongsTo",
"model": "VnUser",
"foreignKey": "user_id"
}
}
}