salix/services/loopback/common/models/producer.json

27 lines
503 B
JSON

{
"name": "Producer",
"base": "VnModel",
"options": {
"mysql": {
"table": "producer"
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"name": {
"type": "String"
}
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
}