44 lines
940 B
JSON
44 lines
940 B
JSON
|
{
|
||
|
"name": "ImageCollectionSize",
|
||
|
"base": "VnModel",
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "hedera.imageCollectionSize"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "Number",
|
||
|
"id": true,
|
||
|
"description": "Identifier"
|
||
|
},
|
||
|
"width": {
|
||
|
"type": "Number",
|
||
|
"required": true
|
||
|
},
|
||
|
"height": {
|
||
|
"type": "Number",
|
||
|
"required": true
|
||
|
},
|
||
|
"crop": {
|
||
|
"type": "Boolean",
|
||
|
"required": true
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"collection": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "ImageCollection",
|
||
|
"foreignKey": "collectionFk"
|
||
|
}
|
||
|
},
|
||
|
"acls": [
|
||
|
{
|
||
|
"accessType": "READ",
|
||
|
"principalType": "ROLE",
|
||
|
"principalId": "employee",
|
||
|
"permission": "ALLOW"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
|