salix/modules/claim/back/models/claim-beginning.json

35 lines
684 B
JSON
Raw Normal View History

{
"name": "ClaimBeginning",
"base": "VnModel",
"mixins": {
"Loggable": true
},
"options": {
"mysql": {
2018-12-17 10:28:39 +00:00
"table": "claimBeginning"
}
},
"properties": {
"id": {
2022-05-12 07:47:47 +00:00
"type": "number",
"id": true,
"description": "Identifier"
},
"quantity": {
2024-04-08 12:38:54 +00:00
"type": "number"
}
},
"relations": {
"claim": {
"type": "belongsTo",
"model": "Claim",
"foreignKey": "claimFk"
},
"sale": {
"type": "belongsTo",
"model": "Sale",
"foreignKey": "saleFk"
}
}
}