35 lines
684 B
JSON
35 lines
684 B
JSON
{
|
|
"name": "ClaimBeginning",
|
|
"base": "VnModel",
|
|
"mixins": {
|
|
"Loggable": true
|
|
},
|
|
"options": {
|
|
"mysql": {
|
|
"table": "claimBeginning"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "number",
|
|
"id": true,
|
|
"description": "Identifier"
|
|
},
|
|
"quantity": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"claim": {
|
|
"type": "belongsTo",
|
|
"model": "Claim",
|
|
"foreignKey": "claimFk"
|
|
},
|
|
"sale": {
|
|
"type": "belongsTo",
|
|
"model": "Sale",
|
|
"foreignKey": "saleFk"
|
|
}
|
|
}
|
|
}
|