2018-07-30 12:10:09 +00:00
|
|
|
{
|
|
|
|
"name": "ClaimBeginning",
|
2022-03-01 14:15:58 +00:00
|
|
|
"base": "Loggable",
|
|
|
|
"log": {
|
|
|
|
"model": "ClaimLog",
|
|
|
|
"relation": "claim",
|
|
|
|
"showField": "quantity"
|
|
|
|
},
|
2018-07-30 12:10:09 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-12-17 10:28:39 +00:00
|
|
|
"table": "claimBeginning"
|
2018-07-30 12:10:09 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"quantity": {
|
|
|
|
"type": "Number",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"claim": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Claim",
|
|
|
|
"foreignKey": "claimFk"
|
|
|
|
},
|
|
|
|
"sale": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Sale",
|
|
|
|
"foreignKey": "saleFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|