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

37 lines
698 B
JSON
Raw Normal View History

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