2018-02-15 09:58:02 +00:00
|
|
|
{
|
|
|
|
"name": "ItemBotanical",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "itemBotanical"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"itemFk": {
|
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"botanical": {
|
|
|
|
"type": "String"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"item": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Item",
|
|
|
|
"foreignKey": "itemFk"
|
|
|
|
},
|
|
|
|
"genus": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Genus",
|
|
|
|
"foreignKey": "genusFk"
|
|
|
|
},
|
|
|
|
"specie": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Specie",
|
|
|
|
"foreignKey": "specieFk"
|
|
|
|
}
|
2018-02-22 15:17:30 +00:00
|
|
|
}
|
2018-02-15 09:58:02 +00:00
|
|
|
}
|