mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +08:00
21 lines
419 B
JavaScript
21 lines
419 B
JavaScript
import { AbstractModel } from 'Knoin/AbstractModel';
|
|
|
|
export class AccountModel extends AbstractModel {
|
|
/**
|
|
* @param {string} email
|
|
* @param {boolean=} canBeDelete = true
|
|
* @param {number=} count = 0
|
|
*/
|
|
constructor(email/*, count = 0*/, isAdditional = true) {
|
|
super();
|
|
|
|
this.email = email;
|
|
|
|
this.addObservables({
|
|
// count: count || 0,
|
|
deleteAccess: false,
|
|
isAdditional: isAdditional
|
|
});
|
|
}
|
|
|
|
}
|