feat: Allow updation of award catalog
This commit is contained in:
@@ -1412,6 +1412,24 @@ export namespace main {
|
||||
return a;
|
||||
}
|
||||
}
|
||||
export class AwardUpdate {
|
||||
code: string;
|
||||
name: string;
|
||||
from: number;
|
||||
to: number;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new AwardUpdate(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.code = source["code"];
|
||||
this.name = source["name"];
|
||||
this.from = source["from"];
|
||||
this.to = source["to"];
|
||||
}
|
||||
}
|
||||
export class BackupSettings {
|
||||
enabled: boolean;
|
||||
folder: string;
|
||||
|
||||
Reference in New Issue
Block a user