init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
Framework/Caching/DictionaryItemTables
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
|
||||
namespace Kreta.Framework.Caching.DictionaryItemTables
|
||||
{
|
||||
/// <summary>
|
||||
/// Kódtétel osztály.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class CsoportTipusDictionaryItem : DictionaryItem
|
||||
{
|
||||
/// <summary>
|
||||
/// Az osztály konstruktora.
|
||||
/// </summary>
|
||||
/// <param name="dictionaryItem">Kódtétel elem</param>
|
||||
public CsoportTipusDictionaryItem(DictionaryItem dictionaryItem) : base(dictionaryItem)
|
||||
{
|
||||
ExtendedProperties = dictionaryItem.ExtendedProperties;
|
||||
}
|
||||
|
||||
#region Properties
|
||||
|
||||
/// <summary>
|
||||
/// Művészeti-e a csoport típus?
|
||||
/// </summary>
|
||||
public bool IsMuveszeti => (bool)ExtendedProperties[nameof(IsMuveszeti)];
|
||||
|
||||
/// <summary>
|
||||
/// Tanórai célű-e a csoport típus?
|
||||
/// </summary>
|
||||
public bool IsTanoraiCelu => (bool)ExtendedProperties[nameof(IsTanoraiCelu)];
|
||||
|
||||
/// <summary>
|
||||
/// A csoport típus óra perce?
|
||||
/// </summary>
|
||||
public int? OraPerc => (int?)ExtendedProperties[nameof(OraPerc)];
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue