59 lines
1.4 KiB
C#
59 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace De.Lambertz.ODAL
|
|
{
|
|
public class WährungsUmrechnung
|
|
{
|
|
private int firmenNr = 0;
|
|
private string firmenWährung = "";
|
|
private int firmenWährungsFaktor = 1;
|
|
//
|
|
private string fremdWährung = "";
|
|
private int fremdWährungsFaktor = 1;
|
|
private double umrechnungsfaktor = 1;
|
|
|
|
public double Umrechnungsfaktor
|
|
{
|
|
get { return umrechnungsfaktor; }
|
|
set { umrechnungsfaktor = value; }
|
|
}
|
|
|
|
public int FremdWährungsFaktor
|
|
{
|
|
get { return fremdWährungsFaktor; }
|
|
set { fremdWährungsFaktor = value; }
|
|
}
|
|
|
|
public string FremdWährung
|
|
{
|
|
get { return fremdWährung; }
|
|
set { fremdWährung = value; }
|
|
}
|
|
|
|
public int FirmenWährungsFaktor
|
|
{
|
|
get { return firmenWährungsFaktor; }
|
|
set { firmenWährungsFaktor = value; }
|
|
}
|
|
|
|
public string FirmenWährung
|
|
{
|
|
get { return firmenWährung; }
|
|
set { firmenWährung = value; }
|
|
}
|
|
|
|
public int FirmenNr
|
|
{
|
|
get { return firmenNr; }
|
|
set { firmenNr = value; }
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return fremdWährung;
|
|
}
|
|
}
|
|
}
|