43 lines
868 B
JSON
43 lines
868 B
JSON
{
|
|
"name": "Specie",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "specie"
|
|
}
|
|
},
|
|
"properties": {
|
|
"specie_id": {
|
|
"type": "Number",
|
|
"id": true,
|
|
"description": "Identifier"
|
|
},
|
|
"latin_species_name": {
|
|
"type": "String"
|
|
},
|
|
"entry_date": {
|
|
"type": "date"
|
|
},
|
|
"expiry_date": {
|
|
"type": "date"
|
|
},
|
|
"change_date_time": {
|
|
"type": "date"
|
|
}
|
|
},
|
|
"relations": {
|
|
"genus": {
|
|
"type": "belongsTo",
|
|
"model": "Genus",
|
|
"foreignKey": "genus_id"
|
|
}
|
|
},
|
|
"acls": [
|
|
{
|
|
"accessType": "READ",
|
|
"principalType": "ROLE",
|
|
"principalId": "$everyone",
|
|
"permission": "ALLOW"
|
|
}
|
|
]
|
|
} |