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

37 lines
729 B
JSON
Raw Normal View History

2019-07-30 06:51:38 +00:00
{
"name": "ClaimDms",
"base": "Loggable",
"log": {
"model": "ClaimLog",
"relation": "claim"
},
"options": {
"mysql": {
"table": "claimDms"
}
},
"allowedContentTypes": [
"image/png",
"image/jpeg",
"image/jpg"
],
2019-07-30 06:51:38 +00:00
"properties": {
"dmsFk": {
"type": "Number",
"id": true,
"required": true
}
},
"relations": {
"claim": {
"type": "belongsTo",
"model": "Claim",
"foreignKey": "claimFk"
},
"dms": {
"type": "belongsTo",
"model": "Dms",
"foreignKey": "dmsFk"
}
}
}