refactoring

This commit is contained in:
azivner
2018-05-22 22:22:15 -04:00
parent 94dabb81f6
commit 0ce5caefe8
10 changed files with 11 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ const dateUtils = require('../services/date_utils');
class Note extends Entity {
static get tableName() { return "notes"; }
static get primaryKeyName() { return "noteId"; }
static get syncedProperties() { return ["noteId", "title", "content", "type", "dateModified", "isProtected", "isDeleted"]; }
static get hashedProperties() { return ["noteId", "title", "content", "type", "dateModified", "isProtected", "isDeleted"]; }
constructor(row) {
super(row);