using System; namespace Kreta.Framework.Caching.DictionaryItemTables { /// /// Kódtétel osztály. /// [Serializable] public class EsemenyTipusDictionaryItem : DictionaryItem { /// /// Az osztály konstruktora. /// /// Kódtétel elem public EsemenyTipusDictionaryItem(DictionaryItem dictionaryItem) : base(dictionaryItem) { ExtendedProperties = dictionaryItem.ExtendedProperties; } #region Properties /// /// Ellenőrzőben megjelenik-e az esemény típus? /// public bool IsEllenorzobenMegjelenik => (bool)ExtendedProperties[nameof(IsEllenorzobenMegjelenik)]; /// /// Naplóban megjelenik-e az esemény típus? /// public bool IsNaplobanMegjelenik => (bool)ExtendedProperties[nameof(IsNaplobanMegjelenik)]; /// /// Törzslapon megjelenik-e az esemény típus? /// public bool IsTorzslaponMegjelenik => (bool)ExtendedProperties[nameof(IsTorzslaponMegjelenik)]; #endregion } }