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": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2019-01-21 10:35:37 +00:00
|
|
|
"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": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string",
|
2019-06-04 10:54:41 +00:00
|
|
|
"required": true
|
2019-01-21 10:35:37 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"user": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Account",
|
|
|
|
"foreignKey": "user_id"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|