using Kreta.DataAccessManual.ParameterClasses; namespace Kreta.BusinessLogic.HelperClasses { public class ErettsegiEredmenyekKeresoCO { public int? FeladatEllatasiHelyId { get; set; } public int? FeladatKategoriaId { get; set; } public int? Id { get; set; } public string Tanulo { get; set; } public int? OsztalyId { get; set; } public string OktatasiAzonosito { get; set; } public string Tantargy { get; set; } public int? SzintId { get; set; } public int? TipusId { get; set; } public int? IrasbeliPontszam { get; set; } public int? SzobeliPontszam { get; set; } public int? GyakorlatiPontszam { get; set; } public int? OsszPontszam { get; set; } public int? Szazalek { get; set; } public int? Erdemjegy { get; set; } public string Megjegyzes { get; set; } public static ErettsegiEredmenyekKeresesPCO ConvertCOToPCO(ErettsegiEredmenyekKeresoCO co) => new ErettsegiEredmenyekKeresesPCO { Id = co.Id, Tanulo = co.Tanulo, OsztalyId = co.OsztalyId, OktatasiAzonosito = co.OktatasiAzonosito, Tantargy = co.Tantargy, SzintId = co.SzintId, TipusId = co.TipusId, IrasbeliPontszam = co.IrasbeliPontszam, SzobeliPontszam = co.SzobeliPontszam, GyakorlatiPontszam = co.GyakorlatiPontszam, OsszPontszam = co.OsszPontszam, Szazalek = co.Szazalek, Erdemjegy = co.Erdemjegy, Megjegyzes = co.Megjegyzes, FeladatEllatasiHelyId = co.FeladatEllatasiHelyId, FeladatKategoriaId = co.FeladatKategoriaId }; } }