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

34 lines
663 B
JSON
Raw Permalink 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,
2022-05-12 07:47:47 +00:00
"type": "number"
},
"userFk": {
2022-05-12 07:47:47 +00:00
"type": "string",
"required": true
},
"tableCode": {
2022-05-12 07:47:47 +00:00
"type": "string",
"required": true
},
"configuration": {
2022-05-12 07:47:47 +00:00
"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"
}
}
}