salix/modules/item/back/models/item-image-queue.json

49 lines
1.0 KiB
JSON
Raw Normal View History

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