2023-02-28 06:49:34 +00:00
|
|
|
{
|
|
|
|
"name": "DeviceProduction",
|
2023-04-12 08:02:06 +00:00
|
|
|
"base": "Loggable",
|
|
|
|
"log": {
|
|
|
|
"model": "DeviceProductionLog"
|
|
|
|
},
|
2023-02-28 06:49:34 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "deviceProduction"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "number",
|
|
|
|
"id": true
|
|
|
|
},
|
|
|
|
"imei": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"modelFk": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"macWifi": {
|
|
|
|
"type" : "string"
|
|
|
|
},
|
|
|
|
"serialNumber": {
|
|
|
|
"type" : "string"
|
|
|
|
},
|
|
|
|
"android_id": {
|
|
|
|
"type" : "string"
|
|
|
|
},
|
|
|
|
"purchased": {
|
|
|
|
"type" : "date"
|
|
|
|
},
|
|
|
|
"stateFk": {
|
|
|
|
"type" : "string"
|
|
|
|
},
|
|
|
|
"isInScaleFusion": {
|
|
|
|
"type" : "boolean"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type" : "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"model": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "DeviceProductionModels",
|
|
|
|
"foreignKey": "modelFk"
|
|
|
|
},
|
|
|
|
"state": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "DeviceProductionState",
|
|
|
|
"foreignKey": "stateFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|