64 lines
2.3 KiB
C#
64 lines
2.3 KiB
C#
using System;
|
|
using System.Data;
|
|
using Kreta.BusinessLogic.Classes;
|
|
using Kreta.Core;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses
|
|
{
|
|
public class NemElerhetoOrarendiElemItemCo
|
|
{
|
|
public NemElerhetoOrarendiElemItemCo() { }
|
|
|
|
public NemElerhetoOrarendiElemItemCo(DataRow dataRow)
|
|
{
|
|
Id = SDAConvert.ToInt32(dataRow["Id"]).ToString();
|
|
ErvenyessegKezdete = SDAConvert.ToDateTime(dataRow["ErvenyessegKezdete"]);
|
|
ErvenyessegVege = SDAConvert.ToDateTime(dataRow["ErvenyessegVege"]);
|
|
Tanar = SDAConvert.ToString(dataRow["Tanar"]).ReplaceMultipleSpacesAndTrim();
|
|
TanarId = SDAConvert.ToInt32(dataRow["TanarId"]);
|
|
TanarElotagNelkul = SDAConvert.ToString(dataRow["TanarElotagNelkul"]).ReplaceMultipleSpacesAndTrim();
|
|
OsztalyCsoport = SDAConvert.ToString(dataRow["OsztalyCsoport"]).ReplaceMultipleSpacesAndTrim();
|
|
OsztalyCsoportId = SDAConvert.ToInt32(dataRow["OsztalyCsoportId"]);
|
|
Tantargy = SDAConvert.ToString(dataRow["Tantargy"]).ReplaceMultipleSpacesAndTrim();
|
|
TantargyId = SDAConvert.ToInt32(dataRow["TantargyId"]);
|
|
Hetirend = SDAConvert.ToString(dataRow["Hetirend"]).ReplaceMultipleSpacesAndTrim();
|
|
HetirendId = SDAConvert.ToInt32(dataRow["HetirendId"]);
|
|
Nap = SDAConvert.ToString(dataRow["Nap"]).ReplaceMultipleSpacesAndTrim();
|
|
NapId = SDAConvert.ToInt32(dataRow["NapId"]);
|
|
Terem = SDAConvert.ToString(dataRow["Terem"]).ReplaceMultipleSpacesAndTrim();
|
|
TeremId = SDAConvert.ToInt32(dataRow["TeremId"]);
|
|
}
|
|
|
|
public string Id { get; set; }
|
|
|
|
public DateTime? ErvenyessegKezdete { get; set; }
|
|
|
|
public DateTime? ErvenyessegVege { get; set; }
|
|
|
|
public string Tanar { get; set; }
|
|
|
|
public int TanarId { get; set; }
|
|
|
|
public string TanarElotagNelkul { get; set; }
|
|
|
|
public string OsztalyCsoport { get; set; }
|
|
|
|
public int OsztalyCsoportId { get; set; }
|
|
|
|
public string Tantargy { get; set; }
|
|
|
|
public int TantargyId { get; set; }
|
|
|
|
public string Hetirend { get; set; }
|
|
|
|
public int HetirendId { get; set; }
|
|
|
|
public string Nap { get; set; }
|
|
|
|
public int NapId { get; set; }
|
|
|
|
public string Terem { get; set; }
|
|
|
|
public int TeremId { get; set; }
|
|
}
|
|
}
|