using System;
namespace Kreta.Framework.Caching.DictionaryItemTables
{
///
/// Kódtétel osztály.
///
[Serializable]
public class OraTulajdonsagTipusDictionaryItem : DictionaryItem
{
///
/// Az osztály konstruktora.
///
/// Kódtétel elem
public OraTulajdonsagTipusDictionaryItem(DictionaryItem dictionaryItem) : base(dictionaryItem)
{
ExtendedProperties = dictionaryItem.ExtendedProperties;
}
#region Properties
///
/// BoolDefault-e az óra tulajdonság típus?
///
public bool BoolDefault => (bool)ExtendedProperties[nameof(BoolDefault)];
///
/// Órarendi óra-e az óra tulajdonság típus?
///
public bool IsOrarendiOra => (bool)ExtendedProperties[nameof(IsOrarendiOra)];
#endregion
}
}