38 lines
1.8 KiB
C#
38 lines
1.8 KiB
C#
using System;
|
|
using System.Data;
|
|
using Kreta.BusinessLogic.Classes;
|
|
using Kreta.Core;
|
|
using Kreta.Enums.ManualEnums;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses
|
|
{
|
|
public class SzakkepzesiMunkaszerzodesCo
|
|
{
|
|
public SzakkepzesiMunkaszerzodesCo() { }
|
|
|
|
public SzakkepzesiMunkaszerzodesCo(DataRow dataRow)
|
|
{
|
|
TanuloId = SDAConvert.ToInt32(dataRow["ID"]);
|
|
TanuloNev = SDAConvert.ToString(dataRow["TanuloNev"]).ReplaceMultipleSpacesAndTrim();
|
|
AnyaNev = SDAConvert.ToString(dataRow["AnyaNev"]).ReplaceMultipleSpacesAndTrim();
|
|
SzuletesiHelye = SDAConvert.ToString(dataRow["SzuletesiHelye"]).ReplaceMultipleSpacesAndTrim();
|
|
SzuletesiDatum = SDAConvert.ToDateTime(dataRow["SzuletesiDatum"]);
|
|
OktatasiAzonosito = SDAConvert.ToString(dataRow["OktatasiAzonosito"]).ReplaceMultipleSpacesAndTrim();
|
|
DualisKepzohelyNev = SDAConvert.ToString(dataRow["DualisKepzohelyNev"]).ReplaceMultipleSpacesAndTrim();
|
|
DualisKepzohelyAdoszama = SDAConvert.ToString(dataRow["DualisKepzohelyAdoszama"]).ReplaceMultipleSpacesAndTrim();
|
|
BevallasKezdete = SDAConvert.ToDateTime(dataRow["BevallasKezdete"]);
|
|
MunkaSzerzodesId = SDAConvert.ToInt32(dataRow["MunkaSzerzodesId"]);
|
|
}
|
|
|
|
public int TanuloId { get; set; }
|
|
public string TanuloNev { get; set; }
|
|
public string AnyaNev { get; set; }
|
|
public string SzuletesiHelye { get; set; }
|
|
public DateTime? SzuletesiDatum { get; set; }
|
|
public string OktatasiAzonosito { get; set; }
|
|
public string DualisKepzohelyNev { get; set; }
|
|
public string DualisKepzohelyAdoszama { get; set; }
|
|
public DateTime? BevallasKezdete { get; set; }
|
|
public int MunkaSzerzodesId { get; set; }
|
|
}
|
|
}
|