feat: finished basic functio
This commit is contained in:
19
frontend/wailsjs/go/models.ts
Executable file
19
frontend/wailsjs/go/models.ts
Executable file
@@ -0,0 +1,19 @@
|
||||
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"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user