47 lines
2.4 KiB
C#
47 lines
2.4 KiB
C#
using System;
|
|
using System.Data;
|
|
using Kreta.BusinessLogic.Classes;
|
|
using Kreta.Core;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses
|
|
{
|
|
public class HelyettesitesItemCo
|
|
{
|
|
public HelyettesitesItemCo(DataRow dataRow)
|
|
{
|
|
Id = SDAConvert.ToInt32(dataRow["ID"]);
|
|
HelyettesitesDatum = SDAConvert.ToDateTime(dataRow["HelyettesitesDatum"]);
|
|
Ora = SDAConvert.ToInt32(dataRow["Ora"]);
|
|
Helyettesitett = SDAConvert.ToString(dataRow["Helyettesitett"]).ReplaceMultipleSpacesAndTrim();
|
|
HelyettesitesOka = SDAConvert.ToString(dataRow["HelyettesitesOka"]).ReplaceMultipleSpacesAndTrim();
|
|
Megjegyzes = SDAConvert.ToString(dataRow["Megjegyzes"]).ReplaceMultipleSpacesAndTrim();
|
|
HelyettesitesTipusNev = SDAConvert.ToString(dataRow["HelyettesitesTipusId_DNAME"]).ReplaceMultipleSpacesAndTrim();
|
|
Helyettesito = SDAConvert.ToString(dataRow["Helyettesito"]).ReplaceMultipleSpacesAndTrim();
|
|
OsztalyCsoport = SDAConvert.ToString(dataRow["OsztalyCsoport"]).ReplaceMultipleSpacesAndTrim();
|
|
Tantargy = SDAConvert.ToString(dataRow["Tantargy"]).ReplaceMultipleSpacesAndTrim();
|
|
IsNaplozott = SDAConvert.ToBoolean(dataRow["Naplozott_BOOL"]);
|
|
IsNaplozottText = SDAConvert.ToString(dataRow["Naplozott_BNAME"]).ReplaceMultipleSpacesAndTrim();
|
|
IsOnlineOraText = SDAConvert.ToString(dataRow["IsOnlineOra_BNAME"]).ReplaceMultipleSpacesAndTrim();
|
|
}
|
|
|
|
public DateTime? HelyettesitesDatum { get; set; }
|
|
public int Ora { get; set; }
|
|
public string Helyettesitett { get; set; }
|
|
public string HelyettesitettElotagNelkul { get; set; }
|
|
public int HelyettesitettId { get; set; }
|
|
public int HelyettesitesTipusId { get; set; }
|
|
public string HelyettesitesTipusNev { get; set; }
|
|
public string HelyettesitesOka { get; set; }
|
|
public string Megjegyzes { get; set; }
|
|
public string Helyettesito { get; set; }
|
|
public string HelyettesitoElotagNelkul { get; set; }
|
|
public int HelyettesitoId { get; set; }
|
|
public string OsztalyCsoport { get; set; }
|
|
public int OsztalyCsoportId { get; set; }
|
|
public string Tantargy { get; set; }
|
|
public int Id { get; set; }
|
|
public bool IsNaplozott { get; set; }
|
|
public string IsNaplozottText { get; set; }
|
|
public string IsOnlineOraText { get; set; }
|
|
}
|
|
}
|