fix in passing originEntity from frontend to backend, some refactorings

This commit is contained in:
azivner
2018-08-16 23:00:04 +02:00
parent 385d97a9b3
commit 208771216e
14 changed files with 36 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ const LABEL = 'label';
const RELATION = 'relation';
class Note extends Entity {
static get tableName() { return "notes"; }
static get entityName() { return "notes"; }
static get primaryKeyName() { return "noteId"; }
static get hashedProperties() { return ["noteId", "title", "content", "type", "isProtected", "isDeleted"]; }