kreta/Kreta.BusinessLogic/LogicBase.cs
2024-03-13 00:33:46 +01:00

25 lines
668 B
C#

using Kreta.Core.ConnectionType;
using Kreta.Framework.Util;
namespace Kreta.BusinessLogic
{
public abstract class LogicBase
{
protected LogicBase(IConnectionType connectionType)
{
ConnectionType = connectionType;
}
public GridParameters GridParameters { get; set; }
protected IConnectionType ConnectionType { get; }
protected int FelhasznaloId => ConnectionType.FelhasznaloId;
protected int IntezmenyId => ConnectionType.IntezmenyId;
protected string IntezmenyAzonosito => ConnectionType.IntezmenyAzonosito;
protected int TanevId => ConnectionType.TanevId;
}
}