-
-
Save rpinna/b97f8505940f255e8ebbd9a17c76f3ea to your computer and use it in GitHub Desktop.
This file contains 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
@IronEncrypt({dataClassId = 'top-secret'}) | |
export class Order { | |
public date = new Date(); | |
constructor( | |
public title: string, | |
public message: string, | |
public id?: number | |
) { | |
this.id = id || Utils.randomInt(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment