2020-07-13 09:58:31 +00:00
|
|
|
{
|
|
|
|
"name": "ItemImageQueue",
|
|
|
|
"description": "Image download queue",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "itemImageQueue"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"itemFk": {
|
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "String",
|
|
|
|
"required": true
|
2020-08-13 10:16:25 +00:00
|
|
|
},
|
|
|
|
"error": {
|
|
|
|
"type": "String",
|
|
|
|
"required": true
|
2020-07-13 09:58:31 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"item": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Item",
|
|
|
|
"foreignKey": "itemFk"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "employee",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|