This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,39 @@
using System;
namespace Kreta.Framework.Caching.DictionaryItemTables
{
/// <summary>
/// Kódtétel osztály.
/// </summary>
[Serializable]
public class ErtekelesModDictionaryItem : DictionaryItem
{
/// <summary>
/// Az osztály konstruktora.
/// </summary>
/// <param name="dictionaryItem">Kódtétel elem</param>
public ErtekelesModDictionaryItem(DictionaryItem dictionaryItem) : base(dictionaryItem)
{
ExtendedProperties = dictionaryItem.ExtendedProperties;
}
#region Properties
/// <summary>
/// Félkövér-e az értékelés mód?
/// </summary>
public bool IsBold => (bool)ExtendedProperties[nameof(IsBold)];
/// <summary>
/// Az értékelés mód számonkérés korlátozott-e?
/// </summary>
public bool IsSzamonkeresKorlatozott => (bool)ExtendedProperties[nameof(IsSzamonkeresKorlatozott)];
/// <summary>
/// Az értékelés mód súlyozása
/// </summary>
public int Suly => (int)ExtendedProperties[nameof(Suly)];
#endregion
}
}