using System; namespace Kreta.Framework.Caching.DictionaryItemTables { /// /// Kódtétel osztály. /// [Serializable] public class SorolasOkaTipusDictionaryItem : DictionaryItem { /// /// Az osztály konstruktora. /// /// Kódtétel elem public SorolasOkaTipusDictionaryItem(DictionaryItem dictionaryItem) : base(dictionaryItem) { ExtendedProperties = dictionaryItem.ExtendedProperties; } #region Properties /// /// Bizonyítványban megjelenik-e a sorolás oka típus? /// public bool IsBizonyitvanybanMegjelenik => (bool)ExtendedProperties[nameof(IsBizonyitvanybanMegjelenik)]; /// /// Naplóban megjelenik-e a sorolás oka típus? /// public bool IsNaplobanMegjelenik => (bool)ExtendedProperties[nameof(IsNaplobanMegjelenik)]; /// /// Törzslapon megjelenik-e a sorolás oka típus? /// public bool IsTorzslaponMegjelenik => (bool)ExtendedProperties[nameof(IsTorzslaponMegjelenik)]; #endregion } }