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

34 lines
663 B
JSON

{
"name": "UserConfigView",
"base": "VnModel",
"options": {
"mysql": {
"table": "salix.userConfigView"
}
},
"properties": {
"id": {
"id": true,
"type": "number"
},
"userFk": {
"type": "string",
"required": true
},
"tableCode": {
"type": "string",
"required": true
},
"configuration": {
"type": "object"
}
},
"relations": {
"user": {
"type": "belongsTo",
"model": "Account",
"foreignKey": "userFk"
}
}
}