using System; using Kreta.DataAccessManual.ParameterClasses; namespace Kreta.BusinessLogic.HelperClasses { public class TavolletSearchCo { /// /// Az aktuális év. /// public int[] NaptariEv { get; set; } /// /// Az adott hívást kezdeményező alkalmazott Id-ja. /// public int HivoAlkalmazottId { get; set; } public int IntezmenyId { get; set; } public string IntezmenyAzonosito { get; set; } public int TanevId { get; set; } public int? TipusId { get; set; } public int[] TavolletIdArray { get; set; } public int[] AlkalmazottIdArray { get; set; } public int? StatuszId { get; set; } public DateTime? TavolletKezdete { get; set; } public DateTime? TavolletVege { get; set; } public DateTime? RogzitesDatumaTol { get; set; } public DateTime? RogzitesDatumaIg { get; set; } public bool? MelleklettelRendelkezik { get; set; } public bool? FoIntezmenyeE { get; set; } public bool ToroltekMegjelenitese { get; set; } internal TavolletSearchPco ConvertToPco() { return new TavolletSearchPco() { NaptariEv = NaptariEv, IntezmenyId = IntezmenyId, IntezmenyAzonosito = IntezmenyAzonosito, TanevId = TanevId, TipusId = TipusId, TavolletIdArray = TavolletIdArray, AlkalmazottIdArray = AlkalmazottIdArray, StatuszId = StatuszId, TavolletKezdete = TavolletKezdete, TavolletVege = TavolletVege, RogzitesDatumaTol = RogzitesDatumaTol, RogzitesDatumaIg = RogzitesDatumaIg, MelleklettelRendelkezik = MelleklettelRendelkezik, FoIntezmenyeE = FoIntezmenyeE, ToroltekMegjelenitese = ToroltekMegjelenitese, }; } } }