57 lines
2.5 KiB
C#
57 lines
2.5 KiB
C#
using System;
|
|
using Kreta.DataAccessManual.ParameterClasses;
|
|
using Kreta.Enums;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses
|
|
{
|
|
public class BesorolasSearchCO
|
|
{
|
|
public OktNevelesiKategoriaEnum? OktNevFelKategoriaId { get; set; }
|
|
public string TanuloSrc { get; set; }
|
|
public int? OsztalyId { get; set; }
|
|
public int? CsoportId { get; set; }
|
|
public bool IsKovTanev { get; set; }
|
|
public DateTime? BelepesiDatumTol { get; set; }
|
|
public DateTime? BelepesiDatumIg { get; set; }
|
|
public DateTime? KilepesiDatumTol { get; set; }
|
|
public DateTime? KilepesiDatumIg { get; set; }
|
|
public int? ZaradekokSzamaTol { get; set; }
|
|
public int? ZaradekokSzamaIg { get; set; }
|
|
public int? KiVagyAtSorolasiZaradek { get; set; }
|
|
public int? NaplosorszamTol { get; set; }
|
|
public int? NaplosorszamIg { get; set; }
|
|
public string Torzslapszam { get; set; }
|
|
public DateTime? KileptetesiDatumTol { get; set; }
|
|
public DateTime? KileptetesiDatumIg { get; set; }
|
|
public DateTime? UtolsoModositasDatumTol { get; set; }
|
|
public DateTime? UtolsoModositasDatumIg { get; set; }
|
|
|
|
public BesorolasSearchPCO ConvertToPco(int tanevId, bool isKiirt = false)
|
|
{
|
|
return new BesorolasSearchPCO
|
|
{
|
|
TanevId = tanevId,
|
|
OktNevelesiKategoriaId = this.OktNevFelKategoriaId,
|
|
TanuloSrc = this.TanuloSrc,
|
|
OsztalyId = this.OsztalyId,
|
|
CsoportId = this.CsoportId,
|
|
BelepesiDatumTol = this.BelepesiDatumTol,
|
|
BelepesiDatumIg = this.BelepesiDatumIg,
|
|
KilepesiDatumTol = this.KilepesiDatumTol,
|
|
KilepesiDatumIg = this.KilepesiDatumIg,
|
|
ZaradekokSzamaTol = this.ZaradekokSzamaTol,
|
|
ZaradekokSzamaIg = this.ZaradekokSzamaIg,
|
|
KiVagyAtSorolasiZaradek = this.KiVagyAtSorolasiZaradek,
|
|
NaplosorszamTol = this.NaplosorszamTol,
|
|
NaplosorszamIg = this.NaplosorszamIg,
|
|
Torzslapszam = this.Torzslapszam,
|
|
KileptetesiDatumTol = this.KileptetesiDatumTol,
|
|
KileptetesiDatumIg = this.KileptetesiDatumIg,
|
|
UtolsoModositasDatumTol = this.UtolsoModositasDatumTol,
|
|
UtolsoModositasDatumIg = this.UtolsoModositasDatumIg,
|
|
IsKiirt = isKiirt,
|
|
IsKovTanev = this.IsKovTanev
|
|
};
|
|
}
|
|
}
|
|
}
|