using System;
namespace Kreta.Framework.Caching.DictionaryItemTables
{
///
/// Kódtétel osztály.
///
[Serializable]
public class NapTipusDictionaryItem : DictionaryItem
{
///
/// Az osztály konstruktora.
///
/// Kódtétel elem
public NapTipusDictionaryItem(DictionaryItem dictionaryItem) : base(dictionaryItem)
{
ExtendedProperties = dictionaryItem.ExtendedProperties;
}
#region Properties
///
/// Le nem kötött munkaidő-e a nap típus?
///
public bool IsLeNemKotottMunkaido => (bool)ExtendedProperties[nameof(IsLeNemKotottMunkaido)];
///
/// Sorszámozandó-e a nap típus?
///
public bool IsSorszamozando => (bool)ExtendedProperties[nameof(IsSorszamozando)];
///
/// Tanítási nap-e a nap típus?
///
public bool IsTanitasiNap => (bool)ExtendedProperties[nameof(IsTanitasiNap)];
///
/// Tanórai-e a nap típus?
///
public bool IsTanorai => (bool)ExtendedProperties[nameof(IsTanorai)];
///
/// Tanórán kívüli-e a nap típus?
///
public bool IsTanoranKivuli => (bool)ExtendedProperties[nameof(IsTanoranKivuli)];
#endregion
}
}