salix/back/models/user-config-view.json

34 lines
663 B
JSON
Raw Normal View History

{
2019-02-05 09:48:33 +00:00
"name": "UserConfigView",
"base": "VnModel",
"options": {
"mysql": {
2019-02-05 09:48:33 +00:00
"table": "salix.userConfigView"
}
},
"properties": {
"id": {
"id": true,
"type": "Number"
},
"userFk": {
"type": "String",
"required": true
},
"tableCode": {
"type": "String",
"required": true
},
"configuration": {
"type": "Object"
}
},
"relations": {
2019-02-05 08:49:33 +00:00
"user": {
"type": "belongsTo",
2019-02-05 08:49:33 +00:00
"model": "Account",
"foreignKey": "userFk"
}
}
}