salix/back/models/user-config.json

57 lines
1.2 KiB
JSON
Raw Permalink Normal View History

2018-10-05 11:01:46 +00:00
{
"name": "UserConfig",
"base": "VnModel",
"options": {
"mysql": {
"table": "userMultiConfig"
2018-10-05 11:01:46 +00:00
}
},
"properties": {
"userFk": {
"id": true,
"type": "number",
2018-10-05 11:01:46 +00:00
"required": true
},
"warehouseFk": {
"type": "number"
2018-10-05 11:01:46 +00:00
},
"companyFk": {
"type": "number"
2018-10-05 11:01:46 +00:00
},
"created": {
"type": "date"
2018-10-05 11:01:46 +00:00
},
"updated": {
"type": "date"
},
"darkMode": {
"type": "boolean"
2023-12-12 13:42:36 +00:00
},
"tabletFk": {
"type": "string"
2018-10-05 11:01:46 +00:00
}
},
"relations": {
"warehouse": {
"type": "belongsTo",
"model": "Warehouse",
"foreignKey": "warehouseFk"
},
"company": {
"type": "belongsTo",
"model": "Company",
"foreignKey": "companyFk"
},
2023-01-24 08:04:43 +00:00
"VnUser": {
2018-10-05 11:01:46 +00:00
"type": "belongsTo",
2023-01-24 08:04:43 +00:00
"model": "VnUser",
2018-10-05 11:01:46 +00:00
"foreignKey": "userFk"
2023-12-12 13:42:36 +00:00
},
"Tablet": {
"type": "belongsTo",
"model": "docuwareTablet",
"foreignKey": "tabletFk"
}
2018-10-05 11:01:46 +00:00
}
}