This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,45 @@
namespace Kreta.BusinessLogic.HelperClasses
{
public class IntezmenyNevCimCo
{
public string IntezmenyAzonosito { get; set; }
public int IntezmenyId { get; set; }
public string Nev { get; set; }
public string Varos { get; set; }
public string Iranyitoszam { get; set; }
public string Ajto { get; set; }
public string Emelet { get; set; }
public string Hazszam { get; set; }
public string KozteruletJellegNev { get; set; }
public string Kozterulet { get; set; }
public string OMKod { get; set; }
public string Email { get; set; }
public string Telefonszam { get; set; }
public string IntezmenyCim
{
get
{
var kozteruletJellegString = KozteruletJellegNev;
var cim = $"{Iranyitoszam}, {Varos} {Kozterulet} {kozteruletJellegString} {Hazszam}";
if (!string.IsNullOrWhiteSpace(Emelet))
{ cim += $" {Emelet} em."; }
if (!string.IsNullOrWhiteSpace(Ajto))
{ cim += $" {Ajto}"; }
return cim;
}
}
}
}