salix/back/models/sip.json

33 lines
639 B
JSON
Raw Normal View History

2019-01-21 10:35:37 +00:00
{
"name": "Sip",
"base": "VnModel",
"options": {
"mysql": {
"table": "pbx.sip"
}
},
"properties": {
2019-01-29 20:00:27 +00:00
"userFk": {
2019-01-21 10:35:37 +00:00
"type": "Number",
"id": true,
2019-01-29 20:00:27 +00:00
"description": "The user id",
2019-01-21 10:35:37 +00:00
"mysql": {
2019-01-29 20:00:27 +00:00
"columnName": "user_id"
2019-01-21 10:35:37 +00:00
}
},
2019-01-29 20:00:27 +00:00
"extension": {
"type": "String"
2019-01-21 10:35:37 +00:00
},
2019-01-29 20:00:27 +00:00
"secret": {
"type": "String"
2019-01-21 10:35:37 +00:00
}
},
"relations": {
"user": {
"type": "belongsTo",
"model": "Account",
"foreignKey": "user_id"
}
}
}