2023-02-28 06:49:34 +00:00
|
|
|
{
|
|
|
|
"name": "DeviceProductionUser",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2023-04-12 08:02:06 +00:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|