44 lines
2.1 KiB
C#
44 lines
2.1 KiB
C#
using System;
|
|
using System.Data;
|
|
using Kreta.BusinessLogic.Classes;
|
|
using Kreta.Core;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses
|
|
{
|
|
public class IgazolasItemCo
|
|
{
|
|
public const string IgazolasExportAttributeId = nameof(IgazolasExportAttributeId);
|
|
|
|
public IgazolasItemCo(DataRow dataRow)
|
|
{
|
|
Id = SDAConvert.ToInt32(dataRow["Id"]);
|
|
Nev = SDAConvert.ToString(dataRow["Nev"]).ReplaceMultipleSpacesAndTrim();
|
|
NevElotagNelkul = SDAConvert.ToString(dataRow["NevElotagNelkul"]).ReplaceMultipleSpacesAndTrim();
|
|
OsztalyCsoport = SDAConvert.ToString(dataRow["OsztalyCsoport"]).ReplaceMultipleSpacesAndTrim();
|
|
SzuletesiDatum = SDAConvert.ToDateTime(dataRow["SzuletesiDatum"]).Value;
|
|
OktatasiAzonosito = SDAConvert.ToString(dataRow["OktatasiAzonosito"]).ReplaceMultipleSpacesAndTrim();
|
|
Kezdete = SDAConvert.ToDateTime(dataRow["Kezdete"]).Value;
|
|
Vege = SDAConvert.ToDateTime(dataRow["Vege"]).Value;
|
|
Megjegyzes = SDAConvert.ToString(dataRow["Megjegyzes"]).ReplaceMultipleSpacesAndTrim();
|
|
RogzitesDatuma = SDAConvert.ToDateTime(dataRow["RogzitesDatuma"]).Value;
|
|
Rogzito = SDAConvert.ToString(dataRow["Rogzito"]).ReplaceMultipleSpacesAndTrim();
|
|
RogzitoElotagNelkul = SDAConvert.ToString(dataRow["RogzitoElotagNelkul"]).ReplaceMultipleSpacesAndTrim();
|
|
IgazolasTipusaNev = SDAConvert.ToString(dataRow["IgazolasTipusa_DNAME"]).ReplaceMultipleSpacesAndTrim();
|
|
}
|
|
|
|
public int Id { get; set; }
|
|
public string Nev { get; set; }
|
|
public string NevElotagNelkul { get; set; }
|
|
public string OsztalyCsoport { get; set; }
|
|
public DateTime SzuletesiDatum { get; set; }
|
|
public string OktatasiAzonosito { get; set; }
|
|
public DateTime Kezdete { get; set; }
|
|
public DateTime Vege { get; set; }
|
|
public string Megjegyzes { get; set; }
|
|
public DateTime RogzitesDatuma { get; set; }
|
|
public string Rogzito { get; set; }
|
|
public string RogzitoElotagNelkul { get; set; }
|
|
public string IgazolasTipusaNev { get; set; }
|
|
|
|
}
|
|
}
|