2018-02-15 09:58:02 +00:00
|
|
|
{
|
|
|
|
"name": "ItemBotanical",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2018-02-15 09:58:02 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "itemBotanical"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"itemFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2018-02-15 09:58:02 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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
|
|
|
}
|
2023-04-12 10:33:14 +00:00
|
|
|
}
|