using System; using Kreta.DataAccessManual.ParameterClasses; namespace Kreta.BusinessLogic.HelperClasses { public class CsoportSearchCo { public string KepzohelyNeve { get; set; } public string KepzohelyAdoszama { get; set; } public DateTime SearchDate { get; set; } public string CsoportNev { get; set; } public int? EvfolyamId { get; set; } public int? CsoportvezetoId { get; set; } public int? TeremId { get; set; } public int? VegzosSearch { get; set; } public int? CsoportTipusId { get; set; } public int? KeresesOsztalyId { get; set; } public DateTime? NaploMegnyitasDatum { get; set; } public DateTime? NaploLezarasDatum { get; set; } public int? FeladatEllatasiHelyId { get; set; } public bool? UresCsoport { get; set; } public bool? NACsoportTipus { get; set; } public bool? NaEvfolyamTipusa { get; set; } public int? FeladatKategoriaId { get; set; } public int? SearchMuveszetiAgId { get; set; } public bool IsFromSzervezet { get; set; } public int? SzervezetId { get; set; } public int? TanulokSzamaTol { get; set; } public int? TanulokSzamaIg { get; set; } public CsoportSearchPco ConvertToPco() { return new CsoportSearchPco { SearchDate = this.SearchDate, CsoportNev = this.CsoportNev, EvfolyamId = this.EvfolyamId, CsoportvezetoId = this.CsoportvezetoId, TeremId = this.TeremId, VegzosSearch = this.VegzosSearch, CsoportTipusId = this.CsoportTipusId, KeresesOsztalyId = this.KeresesOsztalyId, NaploMegnyitasDatum = this.NaploMegnyitasDatum, NaploLezarasDatum = this.NaploLezarasDatum, FeladatEllatasiHelyId = this.FeladatEllatasiHelyId, UresCsoport = this.UresCsoport, NACsoportTipus = this.NACsoportTipus, NaEvfolyamTipusa = this.NaEvfolyamTipusa, FeladatKategoriaId = this.FeladatKategoriaId, SearchMuveszetiAgId = this.SearchMuveszetiAgId, IsFromSzervezet = this.IsFromSzervezet, SzervezetId = this.SzervezetId, TanulokszamaTol = this.TanulokSzamaTol, TanulokszamaIg = this.TanulokSzamaIg, SzervezetNeve = KepzohelyNeve, SzervezetAdoszama = KepzohelyAdoszama, }; } } }