add datatypes file
This commit is contained in:
parent
e8fefec60e
commit
86c5c43f8f
1 changed files with 55 additions and 0 deletions
55
fuzzer/datatypes.py
Normal file
55
fuzzer/datatypes.py
Normal file
|
@ -0,0 +1,55 @@
|
|||
from dataclasses import dataclass
|
||||
|
||||
@dataclass
|
||||
class Kunde:
|
||||
KundenNr: int
|
||||
Vorname: str
|
||||
Nachname: str
|
||||
Strasse: str
|
||||
Geburstdatum: str # Assuming timestamp as a string for simplicity
|
||||
HausNr: str
|
||||
PLZ: int
|
||||
Email: str
|
||||
Telefon: int
|
||||
Ort: str
|
||||
|
||||
@dataclass
|
||||
class Bestellung:
|
||||
BestellNr: int
|
||||
KundenNr: int
|
||||
Rechnungsbetrag: int
|
||||
Bestelldatum: str # Assuming timestamp as a string for simplicity
|
||||
|
||||
@dataclass
|
||||
class Zutat:
|
||||
ZutatenNr: int
|
||||
Bezeichnung: str
|
||||
Bestand: int
|
||||
Nettopreis: int
|
||||
Einheit: str
|
||||
Kohlenhydrate: int
|
||||
Kalorien: int
|
||||
Protein: int
|
||||
|
||||
@dataclass
|
||||
class Lieferant:
|
||||
LieferantenNr: int
|
||||
Ort: str
|
||||
Strasse: str
|
||||
Email: str
|
||||
Telefon: str
|
||||
Liferantenname: str
|
||||
HausNr: str
|
||||
PLZ: int
|
||||
|
||||
@dataclass
|
||||
class LieferantContainsZutaten:
|
||||
LieferantenNr: int
|
||||
ZutatenNr: int
|
||||
|
||||
@dataclass
|
||||
class BestellungContainsZutaten:
|
||||
BestellNr: int
|
||||
ZutatenNr: int
|
||||
Menge: int
|
||||
|
Loading…
Reference in a new issue