Last active
February 15, 2018 21:32
-
-
Save agnanachandran/09f3aef0837fc450cac96a0fc36ca99a to your computer and use it in GitHub Desktop.
models/notification.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Notification { | |
@observable read: boolean; | |
constructor( | |
public id: string, | |
public content: string, | |
public time: number, | |
read: boolean | |
) { | |
this.read = read; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment