ncmdump-gui/frontend/wailsjs/go/models.ts

20 lines
380 B
TypeScript
Raw Normal View History

2024-11-26 19:40:57 +08:00
export namespace main {
export class NcmFile {
Name: string;
Status: string;
static createFrom(source: any = {}) {
return new NcmFile(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.Name = source["Name"];
this.Status = source["Status"];
}
}
}