initial commit with first running version

This commit is contained in:
Patryk Hegenberg 2024-11-25 18:14:54 +01:00
commit 326895fb51
25 changed files with 2349 additions and 0 deletions

57
frontend/wailsjs/go/models.ts Executable file
View file

@ -0,0 +1,57 @@
export namespace main {
export class Bewertung {
vorname: string;
nachname: string;
id: number;
hvPunkte: number;
hvProzent: number;
hvNote: number;
lvPunkte: number;
lvProzent: number;
lvNote: number;
gesamtProzent: number;
gesamtNote: number;
gewertet: boolean;
static createFrom(source: any = {}) {
return new Bewertung(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.vorname = source["vorname"];
this.nachname = source["nachname"];
this.id = source["id"];
this.hvPunkte = source["hvPunkte"];
this.hvProzent = source["hvProzent"];
this.hvNote = source["hvNote"];
this.lvPunkte = source["lvPunkte"];
this.lvProzent = source["lvProzent"];
this.lvNote = source["lvNote"];
this.gesamtProzent = source["gesamtProzent"];
this.gesamtNote = source["gesamtNote"];
this.gewertet = source["gewertet"];
}
}
export class MaxPunkte {
hvMax: number;
lvMax: number;
hvGewichtung: number;
lvGewichtung: number;
static createFrom(source: any = {}) {
return new MaxPunkte(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.hvMax = source["hvMax"];
this.lvMax = source["lvMax"];
this.hvGewichtung = source["hvGewichtung"];
this.lvGewichtung = source["lvGewichtung"];
}
}
}