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

38 lines
771 B
JSON
Raw Normal View History

{
"name": "ClaimBeginning",
2022-03-01 14:15:58 +00:00
"base": "Loggable",
"log": {
"model": "ClaimLog",
"relation": "claim",
"showField": "quantity"
},
"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"
}
}
}