init
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.Core;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
public class OralatogatasItemCo
|
||||
{
|
||||
public OralatogatasItemCo(DataRow dataRow)
|
||||
{
|
||||
Id = SDAConvert.ToInt32(dataRow["ID"]);
|
||||
Date = SDAConvert.ToDateTime(dataRow["Datum"]).Value;
|
||||
Ora = SDAConvert.ToInt32(dataRow["Oraszam"]);
|
||||
Latogato = SDAConvert.ToString(dataRow["Alkalmazott"]).ReplaceMultipleSpacesAndTrim();
|
||||
LatogatoID = SDAConvert.ToInt32(dataRow["AlkalmazottId"]);
|
||||
Beosztas = SDAConvert.ToString(dataRow["Beosztas"]).ReplaceMultipleSpacesAndTrim();
|
||||
LatogatottPedagogus = SDAConvert.ToString(dataRow["LatogatottPedagogus"]).ReplaceMultipleSpacesAndTrim();
|
||||
Tantargy = SDAConvert.ToString(dataRow["Tantargy"]).ReplaceMultipleSpacesAndTrim();
|
||||
OsztalyCsoport = SDAConvert.ToString(dataRow["OsztalyCsoport"]).ReplaceMultipleSpacesAndTrim();
|
||||
TanitasiOraId = SDAConvert.ToInt32(dataRow["TanitasiOraId"]);
|
||||
LatogatoElotagNelkul = SDAConvert.ToString(dataRow["AlkalmazottElotagNelkul"]).ReplaceMultipleSpacesAndTrim();
|
||||
IsSajatErtekeles = SDAConvert.ToBooleanFromTF(dataRow["IsSajatErtekeles"]);
|
||||
}
|
||||
|
||||
public int Id { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public int Ora { get; set; }
|
||||
public string Latogato { get; set; }
|
||||
public int LatogatoID { get; set; }
|
||||
public string Beosztas { get; set; }
|
||||
public string LatogatottPedagogus { get; set; }
|
||||
public string Tantargy { get; set; }
|
||||
public string OsztalyCsoport { get; set; }
|
||||
public string Megjegyzes { get; set; }
|
||||
public bool NemKotottMunkaidos { get; set; }
|
||||
public bool IsSajatErtekeles { get; set; }
|
||||
public int TanitasiOraId { get; set; }
|
||||
public string LatogatoElotagNelkul { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user