37 lines
729 B
JSON
37 lines
729 B
JSON
{
|
|
"name": "ClaimDms",
|
|
"base": "Loggable",
|
|
"log": {
|
|
"model": "ClaimLog",
|
|
"relation": "claim"
|
|
},
|
|
"options": {
|
|
"mysql": {
|
|
"table": "claimDms"
|
|
}
|
|
},
|
|
"allowedContentTypes": [
|
|
"image/png",
|
|
"image/jpeg",
|
|
"image/jpg"
|
|
],
|
|
"properties": {
|
|
"dmsFk": {
|
|
"type": "number",
|
|
"id": true,
|
|
"required": true
|
|
}
|
|
},
|
|
"relations": {
|
|
"claim": {
|
|
"type": "belongsTo",
|
|
"model": "Claim",
|
|
"foreignKey": "claimFk"
|
|
},
|
|
"dms": {
|
|
"type": "belongsTo",
|
|
"model": "Dms",
|
|
"foreignKey": "dmsFk"
|
|
}
|
|
}
|
|
} |