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

36 lines
714 B
JSON
Raw Permalink 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": {
2022-05-12 07:47:47 +00:00
"type": "number",
"required": true
}
},
"relations": {
"claim": {
"type": "belongsTo",
"model": "Claim",
"foreignKey": "claimFk"
},
"sale": {
"type": "belongsTo",
"model": "Sale",
"foreignKey": "saleFk"
}
}
}