From 200affff59f4d56e363dff97fbe672b23d1faee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruwen=20B=C3=BCrger?= <3014515@stud.hs-mannheim.de> Date: Mon, 7 Oct 2024 09:56:06 +0200 Subject: [PATCH] =?UTF-8?q?Auto=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Auto | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Auto diff --git a/Auto b/Auto new file mode 100644 index 0000000..3fc3cad --- /dev/null +++ b/Auto @@ -0,0 +1,29 @@ +package pr2parkhaus; + +import java.util.Date; + +public class Auto { + + private String nummernschild; + private Date einfahrtszeit; + + + public Auto(String nummernschild, Date einfahrtszeit) { + + this.nummernschild = nummernschild; + this.einfahrtszeit = einfahrtszeit; + + + } + + //Gettermethoden + + public String getNummernschild() { + return this.nummernschild; + } + + public Date getEinfahrtszeit() { + return this.einfahrtszeit; + } + +} \ No newline at end of file