Files
BeWoPlaner/Shared/DataContracts/Compact/ClientPartials/CompactCostBearerDC.cs
2024-12-30 16:12:47 +01:00

57 lines
1.3 KiB
C#

using System;
using System.Diagnostics;
namespace BS.Shared.DataContracts.Compact
{
[DebuggerDisplay("{Name}")]
public partial class CompactCostBearerDC : IInvoiceRecipient
{
public decimal? DefaultAmount
{
get
{
return null;
}
}
public string InvoiceAddressString
{
get
{
if (this.Organisation != null)
{
return this.Organisation.Street + Environment.NewLine + this.Organisation.PostalCode + " " + this.Organisation.Town;
}
else
{
return null;
}
}
}
public string Name
{
get
{
return this.OrganisationName;
}
}
public long? Oid
{
get
{
return this.Organisation != null ? this.Organisation.OrganisationOid : 0;
}
}
public string OrganisationName
{
get
{
return this.Organisation != null ? this.Organisation.Name : null;
}
}
}
}