2023-02-28 06:49:34 +00:00
|
|
|
{
|
|
|
|
"name": "DeviceProductionUser",
|
2023-04-12 08:02:06 +00:00
|
|
|
"base": "Loggable",
|
|
|
|
"log": {
|
|
|
|
"model": "DeviceProductionLog",
|
|
|
|
"relation": "deviceProduction"
|
|
|
|
},
|
2023-02-28 06:49:34 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "deviceProductionUser"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"deviceProductionFk": {
|
|
|
|
"type": "number",
|
|
|
|
"id": true
|
|
|
|
},
|
|
|
|
"userFk": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"created": {
|
|
|
|
"type": "date"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"deviceProduction": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "DeviceProduction",
|
|
|
|
"foreignKey": "deviceProductionFk"
|
|
|
|
},
|
|
|
|
"user": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "User",
|
|
|
|
"foreignKey": "userFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|