71 lines
4.5 KiB
C#
71 lines
4.5 KiB
C#
using System;
|
|
using System.Data;
|
|
using Kreta.BusinessLogic.Classes;
|
|
using Kreta.Core;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses.MulasztasiErtesitokCOs
|
|
{
|
|
public class MulasztasFejCo
|
|
{
|
|
public MulasztasFejCo(DataRow row)
|
|
{
|
|
TanuloId = SDAConvert.ToInt32(row.Field<int>("TanuloId"));
|
|
TanuloCsoportId = SDAConvert.ToInt32(row.Field<int>("TanuloCsoportId"));
|
|
TanuloNeve = SDAConvert.ToString(row.Field<string>("TANULONEV")).ReplaceMultipleSpacesAndTrim();
|
|
AnyjaNeve = SDAConvert.ToString(row.Field<string>("ANYJANEVE")).ReplaceMultipleSpacesAndTrim();
|
|
SzuletesiHely = SDAConvert.ToString(row.Field<string>("SZULETESIHELY")).ReplaceMultipleSpacesAndTrim();
|
|
SzuletesiIdo = SDAConvert.ToDateTime(row.Field<DateTime>("SZULETESIDATUM")).Value;
|
|
TorzslapSzam = SDAConvert.ToString(row.Field<string>("TorzslapSzam")).ReplaceMultipleSpacesAndTrim(string.Empty);
|
|
IntezmenyVezetoNeve = SDAConvert.ToString(row.Field<string>("INT_IGAZGATO_NEV")).ReplaceMultipleSpacesAndTrim();
|
|
IntezmenyNeve = SDAConvert.ToString(row.Field<string>("INT_NEV")).ReplaceMultipleSpacesAndTrim();
|
|
IntezmenyOMKod = SDAConvert.ToString(row.Field<string>("INT_OMKOD")).ReplaceMultipleSpacesAndTrim();
|
|
IntezmenyVarosNeve = SDAConvert.ToString(row.Field<string>("INT_VAROS")).ReplaceMultipleSpacesAndTrim();
|
|
IntezmenyCime = SDAConvert.ToString(row.Field<string>("INT_CIM")).ReplaceMultipleSpacesAndTrim();
|
|
OsztalyCsoportNeve = SDAConvert.ToString(row.Field<string>("OSZTALYCSOPORT_NEV")).ReplaceMultipleSpacesAndTrim();
|
|
OsztalyfonokNeve = SDAConvert.ToString(row.Field<string>("OSZTFO_NEV")).ReplaceMultipleSpacesAndTrim(string.Empty);
|
|
Igazolt = SDAConvert.ToInt32(row.Field<int>("IGAZOLT"));
|
|
Igazolatlan = SDAConvert.ToInt32(row.Field<int>("IGAZOLATLAN"));
|
|
OsszesMulasztas = SDAConvert.ToInt32(row.Field<int>("OsszesMulasztas"));
|
|
OsszesIgazolt = SDAConvert.ToInt32(row.Field<int>("OsszesIgazolt"));
|
|
OsszesIgazolatlan = SDAConvert.ToInt32(row.Field<int>("OsszesIgazolatlan"));
|
|
TanuloAllandoCim = SDAConvert.ToString(row.Field<string>("TanuloAllandoCim")).ReplaceMultipleSpacesAndTrim(string.Empty);
|
|
TanuloTartozkodasiCim = SDAConvert.ToString(row.Field<string>("TanuloTartozkodasiCim")).ReplaceMultipleSpacesAndTrim(string.Empty);
|
|
TanuloOktatasiAzonosito = SDAConvert.ToString(row.Field<string>("TanuloOktAzon")).ReplaceMultipleSpacesAndTrim(string.Empty);
|
|
HozottIgazolt = SDAConvert.ToInt32(row.Field<int>("HozottIgazolt"));
|
|
HozottIgazolatlan = SDAConvert.ToInt32(row.Field<int>("HozottIgazolatlan"));
|
|
HozottIgazoltKeses = SDAConvert.ToInt32(row.Field<int>("HozottIgazoltKeses"));
|
|
HozottIgazolatlanKeses = SDAConvert.ToInt32(row.Field<int>("HozottIgazolatlanKeses"));
|
|
BelepesDatum = SDAConvert.ToDateTime(row.Field<DateTime>("BelepesDatum")).Value;
|
|
TanevNeve = SDAConvert.ToString(row.Field<string>("TanevNeve")).ReplaceMultipleSpacesAndTrim();
|
|
}
|
|
|
|
public int TanuloId { get; set; }
|
|
public int TanuloCsoportId { get; set; }
|
|
public string TanuloNeve { get; set; }
|
|
public string AnyjaNeve { get; set; }
|
|
public string SzuletesiHely { get; set; }
|
|
public DateTime SzuletesiIdo { get; set; }
|
|
public string TorzslapSzam { get; set; }
|
|
public string IntezmenyVezetoNeve { get; set; }
|
|
public string IntezmenyNeve { get; set; }
|
|
public string IntezmenyOMKod { get; set; }
|
|
public string IntezmenyVarosNeve { get; set; }
|
|
public string IntezmenyCime { get; set; }
|
|
public string OsztalyCsoportNeve { get; set; }
|
|
public string OsztalyfonokNeve { get; set; }
|
|
public int Igazolt { get; set; }
|
|
public int Igazolatlan { get; set; }
|
|
public int OsszesMulasztas { get; set; }
|
|
public int OsszesIgazolt { get; set; }
|
|
public int OsszesIgazolatlan { get; set; }
|
|
public string TanuloAllandoCim { get; set; }
|
|
public string TanuloTartozkodasiCim { get; set; }
|
|
public string TanuloOktatasiAzonosito { get; set; }
|
|
public int HozottIgazolt { get; set; }
|
|
public int HozottIgazolatlan { get; set; }
|
|
public int HozottIgazoltKeses { get; set; }
|
|
public int HozottIgazolatlanKeses { get; set; }
|
|
public DateTime BelepesDatum { get; set; }
|
|
public string TanevNeve { get; set; }
|
|
}
|
|
}
|