trilium/src/entities/entity.js

13 lines
193 B
JavaScript
Raw Normal View History

"use strict";
class Entity {
constructor(sql, row) {
this.sql = sql;
for (const key in row) {
this[key] = row[key];
}
}
}
module.exports = Entity;