using System;
namespace Kreta.Framework.Caching.DictionaryItemTables
{
///
/// Kódtétel osztály.
///
[Serializable]
public class OrszagTipusDictionaryItem : DictionaryItem
{
///
/// Az osztály konstruktora.
///
/// Kódtétel elem
public OrszagTipusDictionaryItem(DictionaryItem dictionaryItem) : base(dictionaryItem)
{
ExtendedProperties = dictionaryItem.ExtendedProperties;
}
#region Properties
///
/// Az ország típus ISO kódja
///
public string IsoKod => (string)ExtendedProperties[nameof(IsoKod)];
///
/// Az ország típus kód 2
///
public string Kod2 => (string)ExtendedProperties[nameof(Kod2)];
///
/// Az ország típus OECD kódja
///
public int? OecdKod => (int?)ExtendedProperties[nameof(OecdKod)];
#endregion
}
}