Files
MacFastLookup/frontend/wailsjs/go/models.ts
T
2026-08-27 15:32:23 +08:00

28 lines
668 B
TypeScript
Executable File

export namespace service {
export class MacAddress {
Id: string;
Prefix: string;
VendorName: string;
Private: boolean;
BlockType: string;
LastUpdate: string;
static createFrom(source: any = {}) {
return new MacAddress(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.Id = source["Id"];
this.Prefix = source["Prefix"];
this.VendorName = source["VendorName"];
this.Private = source["Private"];
this.BlockType = source["BlockType"];
this.LastUpdate = source["LastUpdate"];
}
}
}