{
    "name": "ClientDms",
    "base": "Loggable",
	"log": {
        "model":"ClientLog",
        "relation": "client",
        "showField": "dmsFk"
	},
    "options": {
        "mysql": {
            "table": "clientDms"
        }
    },
    "properties": {
        "dmsFk": {
            "type": "Number",
            "id": true,
            "required": true
        },
        "clientFk": {
            "type": "Number",
            "required": true
        }
    },
    "relations": {
        "client": {
            "type": "belongsTo",
            "model": "Client",
            "foreignKey": "clientFk"
        },
        "dms": {
            "type": "belongsTo",
            "model": "Dms",
            "foreignKey": "dmsFk"
        }
    }
}