65 lines
1.7 KiB
C#
65 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace De.Lambertz.ODAL
|
|
{
|
|
public class KostenstelleKostenartSumme
|
|
{
|
|
private string kostenart = "";
|
|
private string kostenstelle = "";
|
|
private double summe = 0;
|
|
//Optional
|
|
private string kostenartenBezeichnung = "";
|
|
private string kostenstellenBezeichnung = "";
|
|
|
|
public string Kostenart
|
|
{
|
|
get { return kostenart; }
|
|
set { kostenart = value; }
|
|
}
|
|
|
|
public string Kostenstelle
|
|
{
|
|
get { return kostenstelle; }
|
|
set { kostenstelle = value; }
|
|
}
|
|
|
|
public double Summe
|
|
{
|
|
get { return summe; }
|
|
set { summe = value; }
|
|
}
|
|
|
|
public string GetKey()
|
|
{
|
|
return kostenart + "_" + kostenstelle;
|
|
}
|
|
|
|
public string KostenartenBezeichnung
|
|
{
|
|
get { return kostenartenBezeichnung; }
|
|
set { kostenartenBezeichnung = value; }
|
|
}
|
|
|
|
public string KostenstellenBezeichnung
|
|
{
|
|
get { return kostenstellenBezeichnung; }
|
|
set { kostenstellenBezeichnung = value; }
|
|
}
|
|
|
|
public KostenstelleKostenartSumme Clone()
|
|
{
|
|
KostenstelleKostenartSumme result = new KostenstelleKostenartSumme();
|
|
|
|
result.Kostenart = this.kostenart;
|
|
result.KostenartenBezeichnung = this.kostenartenBezeichnung;
|
|
result.Kostenstelle = this.kostenstelle;
|
|
result.KostenstellenBezeichnung = this.kostenstellenBezeichnung;
|
|
result.Summe = this.summe;
|
|
|
|
return result;
|
|
}
|
|
}
|
|
}
|