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

37 lines
698 B
JSON
Raw Permalink Normal View History

2024-01-18 14:09:52 +00:00
{
"name": "EntryDms",
"base": "VnModel",
"mixins": {
"Loggable": true
},
2024-01-18 14:09:52 +00:00
"options": {
"mysql": {
"table": "entryDms"
}
},
2024-02-23 06:39:56 +00:00
"allowedContentTypes": [
"image/png",
"image/jpeg",
"image/jpg"
],
2024-01-18 14:09:52 +00:00
"properties": {
"dmsFk": {
"type": "number",
"id": true,
"required": true
}
},
"relations": {
"entry": {
"type": "belongsTo",
"model": "Entry",
"foreignKey": "entryFk"
},
"dms": {
"type": "belongsTo",
"model": "Dms",
"foreignKey": "dmsFk"
}
}
}