2018-10-05 11:01:46 +00:00
|
|
|
{
|
|
|
|
"name": "UserConfig",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2024-07-10 05:46:18 +00:00
|
|
|
"table": "userMultiConfig"
|
2018-10-05 11:01:46 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"userFk": {
|
|
|
|
"id": true,
|
2022-04-20 08:25:01 +00:00
|
|
|
"type": "number",
|
2018-10-05 11:01:46 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"warehouseFk": {
|
2022-04-20 08:25:01 +00:00
|
|
|
"type": "number"
|
2018-10-05 11:01:46 +00:00
|
|
|
},
|
|
|
|
"companyFk": {
|
2022-04-20 08:25:01 +00:00
|
|
|
"type": "number"
|
2018-10-05 11:01:46 +00:00
|
|
|
},
|
|
|
|
"created": {
|
2022-04-20 08:25:01 +00:00
|
|
|
"type": "date"
|
2018-10-05 11:01:46 +00:00
|
|
|
},
|
|
|
|
"updated": {
|
2022-04-20 08:25:01 +00:00
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"darkMode": {
|
|
|
|
"type": "boolean"
|
2023-12-12 13:42:36 +00:00
|
|
|
},
|
|
|
|
"tabletFk": {
|
2023-12-21 09:39:46 +00:00
|
|
|
"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
|
|
|
}
|
|
|
|
}
|