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