mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Moved from master
This commit is contained in:
parent
134deb8d73
commit
19c78c2350
37 changed files with 797 additions and 0 deletions
23
dev/Model/Template.js
Normal file
23
dev/Model/Template.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import { AbstractModel } from 'Knoin/AbstractModel';
|
||||
|
||||
export class TemplateModel extends AbstractModel {
|
||||
/**
|
||||
* @param {string} id
|
||||
* @param {string} name
|
||||
* @param {string} body
|
||||
*/
|
||||
constructor(id = '', name = '', body = '') {
|
||||
super();
|
||||
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.body = body;
|
||||
this.populated = true;
|
||||
|
||||
this.deleteAccess = ko.observable(false);
|
||||
}
|
||||
|
||||
// static reviveFromJson(json) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue