add Programmyday form github
This commit is contained in:
36
Parkplatz2/Parkschein.cs
Normal file
36
Parkplatz2/Parkschein.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Parkplatz2
|
||||
{
|
||||
internal class Parkschein
|
||||
{
|
||||
private int parkboxId;
|
||||
private int parkplatzId;
|
||||
private string kennzeichen;
|
||||
public Parkschein (int parkplatzId, int parkboxId, string kennzeichen)
|
||||
{
|
||||
|
||||
this.parkboxId = parkboxId;
|
||||
this.kennzeichen = kennzeichen;
|
||||
this.parkplatzId = parkplatzId;
|
||||
}
|
||||
|
||||
public string GetKennzeichen()
|
||||
{
|
||||
return this.kennzeichen;
|
||||
}
|
||||
public int GetParkplatzId()
|
||||
{
|
||||
return this.parkplatzId;
|
||||
}
|
||||
public int GetParboxId()
|
||||
{
|
||||
return this.parkboxId;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user