using System; namespace Kreta.Framework.Caching.DictionaryItemTables { /// /// Kódtétel osztály. /// [Serializable] public class CsoportTipusDictionaryItem : DictionaryItem { /// /// Az osztály konstruktora. /// /// Kódtétel elem public CsoportTipusDictionaryItem(DictionaryItem dictionaryItem) : base(dictionaryItem) { ExtendedProperties = dictionaryItem.ExtendedProperties; } #region Properties /// /// Művészeti-e a csoport típus? /// public bool IsMuveszeti => (bool)ExtendedProperties[nameof(IsMuveszeti)]; /// /// Tanórai célű-e a csoport típus? /// public bool IsTanoraiCelu => (bool)ExtendedProperties[nameof(IsTanoraiCelu)]; /// /// A csoport típus óra perce? /// public int? OraPerc => (int?)ExtendedProperties[nameof(OraPerc)]; #endregion } }