31 lines
662 B
JSON
31 lines
662 B
JSON
|
{
|
||
|
"name": "SectorCollectionSaleGroup",
|
||
|
"base": "VnModel",
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "sectorCollectionSaleGroup"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "number",
|
||
|
"id": true
|
||
|
},
|
||
|
"created": {
|
||
|
"type": "date"
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"sectorCollection": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "SectorCollection",
|
||
|
"foreignKey": "sectorCollectionFk"
|
||
|
},
|
||
|
"saleGroup": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "SaleGroup",
|
||
|
"foreignKey": "saleGroupFk"
|
||
|
}
|
||
|
}
|
||
|
}
|