hedera-front/back/common/models/country.json

32 lines
478 B
JSON
Raw Normal View History

2019-07-01 21:47:53 +00:00
{
"name": "Country",
"description": "Worldwide countries",
"base": "PersistedModel",
"options": {
"mysql": {
"table": "country"
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"country": {
"type": "string",
"required": true
},
"code": {
"type": "string"
}
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
}