Files
BeWoPlaner/Shared/DataContracts/Compact/ClientPartials/CompactCostBearerDC.cs

57 lines
1.3 KiB
C#
Raw Normal View History

2016-06-27 01:45:38 +02:00
using System;
2024-12-30 16:12:47 +01:00
using System.Diagnostics;
2016-06-27 01:45:38 +02:00
namespace BS.Shared.DataContracts.Compact
{
2024-12-30 16:12:47 +01:00
[DebuggerDisplay("{Name}")]
2016-06-27 01:45:38 +02:00
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;
}
}
}
}