generated from dave/wails-template
Update model
This commit is contained in:
58
frontend/wailsjs/go/models.ts
Normal file
58
frontend/wailsjs/go/models.ts
Normal file
@@ -0,0 +1,58 @@
|
||||
export namespace main {
|
||||
|
||||
export class WailsBills {
|
||||
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new WailsBills(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
|
||||
}
|
||||
}
|
||||
export class WailsPayment {
|
||||
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new WailsPayment(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
|
||||
}
|
||||
}
|
||||
export class WailsPayments {
|
||||
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new WailsPayments(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export namespace time {
|
||||
|
||||
export class Time {
|
||||
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new Time(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user