1234567891011121314151617181920212223242526272829 |
- export class SaveField{
- public key:string;
- // public get Key():string{
- // return this.key;
- // }
- public val:string;
- // public get Val():string{
- // return this.val;
- // }
- public timeStamp:number;
- // public get TimeStamp():number{
- // return this.timeStamp;
- // }
- // public get DateTime():Date{
- // return new Date(this.timeStamp);
- // }
- constructor(key:string,defaultVal:string){
- this.key = key;
- this.val = defaultVal;
- this.timeStamp = Date.now();
- }
- // Save(){
-
- // }
- }
|