41 lines
798 B
C#
41 lines
798 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace UMLKlassendiagramm
|
|
{
|
|
internal class Material: Ware
|
|
{
|
|
string Name;
|
|
string Art;
|
|
string Qualitaet;
|
|
string Verfallsdatum;
|
|
|
|
public Material(string name, string art)
|
|
{
|
|
Name = name;
|
|
Art = art;
|
|
}
|
|
|
|
public string getName()
|
|
{
|
|
return Name;
|
|
}
|
|
public void setName(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
public override string getArtikelNr()
|
|
{
|
|
return ArtikelNr;
|
|
}
|
|
|
|
public override void setArtikelNr(string artikelNummer)
|
|
{
|
|
ArtikelNr = artikelNummer;
|
|
}
|
|
}
|
|
} |