35 lines
660 B
JSON
35 lines
660 B
JSON
|
{
|
||
|
"name": "greuge",
|
||
|
"base": "VnModel",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"id": true,
|
||
|
"type": "Number",
|
||
|
"description": "Identifier"
|
||
|
},
|
||
|
"description": {
|
||
|
"type": "String"
|
||
|
},
|
||
|
"amount": {
|
||
|
"type": "Number"
|
||
|
},
|
||
|
"shipped": {
|
||
|
"type": "date"
|
||
|
},
|
||
|
"created": {
|
||
|
"type": "date"
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"client": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "Client",
|
||
|
"foreignKey": "clientFk"
|
||
|
},
|
||
|
"greugeType": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "greugeType",
|
||
|
"foreignKey": "greugeTypeFk"
|
||
|
}
|
||
|
}
|
||
|
}
|