init
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Kreta.DataAccessManual.Interfaces;
|
||||
using Kreta.Naplo.Dao.V3.Naplo;
|
||||
using Kreta.Naplo.Domain.V3.Enum;
|
||||
|
||||
namespace Kreta.Naplo.Domain.V3.Common
|
||||
{
|
||||
public class DefaultConnectionParameters
|
||||
{
|
||||
public string IntezmenyAzonosito { get; }
|
||||
|
||||
public int IntezmenyId { get; }
|
||||
|
||||
public int TanevId { get; }
|
||||
|
||||
public int TanevSorszam { get; }
|
||||
|
||||
public int FelhasznaloId { get; }
|
||||
|
||||
public IEnumerable<FelhasznaloSzerepkor> JogosultsagLista { get; }
|
||||
|
||||
public IDalHandler DalHandler { get; set; }
|
||||
|
||||
public string UserName { get; }
|
||||
|
||||
public Guid UserIdpUniqueId { get; }
|
||||
|
||||
public Guid InstituteUniqueId { get; }
|
||||
|
||||
public DefaultConnectionParameters(MobileUser mobileUser, IntezmenyAdatokDao intezmenyAdatok, string intezmenyAzonosito)
|
||||
{
|
||||
IntezmenyAzonosito = intezmenyAzonosito;
|
||||
FelhasznaloId = mobileUser.UserId;
|
||||
JogosultsagLista = mobileUser.Roles;
|
||||
UserName = mobileUser.UserName;
|
||||
UserIdpUniqueId = mobileUser.UserIdpUniqueId;
|
||||
TanevId = intezmenyAdatok.TanevId;
|
||||
TanevSorszam = intezmenyAdatok.TanevSorszam;
|
||||
IntezmenyId = intezmenyAdatok.IntezmenyId;
|
||||
InstituteUniqueId = mobileUser.InstituteUniqueId;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user