33 lines
960 B
C#
33 lines
960 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Kreta.BusinessLogic.Classes;
|
|
using Kreta.Core;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses
|
|
{
|
|
public class TanulasiEgysegCo
|
|
{
|
|
public int ID { get; set; }
|
|
|
|
public int Sorszam { get; set; }
|
|
|
|
public int? SzakmairanyTipusId { get; set; }
|
|
|
|
public int SzakmaTipusId { get; set; }
|
|
|
|
public string Szoveg { get; set; }
|
|
|
|
public TanulasiEgysegCo(DataRow dataRow)
|
|
{
|
|
ID = SDAConvert.ToInt32(dataRow["ID"]);
|
|
Sorszam = SDAConvert.ToInt32(dataRow["C_SORSZAM"]);
|
|
SzakmairanyTipusId = SDAConvert.ToNullableInt32(dataRow["C_SZAKMAIRANYTIPUSID"]);
|
|
SzakmaTipusId = SDAConvert.ToInt32(dataRow["C_SZAKMATIPUSID"]);
|
|
Szoveg = SDAConvert.ToString(dataRow["C_SZOVEG"]).ReplaceMultipleSpacesAndTrim();
|
|
}
|
|
}
|
|
}
|