init
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.Core;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
public class NevOktLeNemKotottMunkaidoItemCO
|
||||
{
|
||||
public NevOktLeNemKotottMunkaidoItemCO(DataRow row)
|
||||
{
|
||||
ID = SDAConvert.ToInt32(row["ID"]);
|
||||
Datum = SDAConvert.ToDateTime(row["Datum"]);
|
||||
Kezdete = SDAConvert.ToDateTime(row["Kezdete"]);
|
||||
Vege = SDAConvert.ToDateTime(row["Vege"]);
|
||||
TanarId = SDAConvert.ToInt32(row["TanarId"]);
|
||||
TanarNeve = SDAConvert.ToString(row["TanarNeve"]).ReplaceMultipleSpacesAndTrim();
|
||||
KategoriaId = SDAConvert.ToInt32(row["KategoriaId"]);
|
||||
KategoriaNeve = SDAConvert.ToString(row["KategoriaNeve"]).ReplaceMultipleSpacesAndTrim();
|
||||
RogzitesDatuma = SDAConvert.ToDateTime(row["RogzitesDatuma"]);
|
||||
Megtartott = SDAConvert.ToBooleanFromTF(row["Megtartott"]);
|
||||
IsToroltTevekenysegek = SDAConvert.ToBooleanFromTF(row["ToroltTevekenysegek"]);
|
||||
}
|
||||
|
||||
public int ID { get; set; }
|
||||
public DateTime? Datum { get; set; }
|
||||
public DateTime? Kezdete { get; set; }
|
||||
public DateTime? Vege { get; set; }
|
||||
public int TanarId { get; set; }
|
||||
public string TanarNeve { get; set; }
|
||||
public int KategoriaId { get; set; }
|
||||
public string KategoriaNeve { get; set; }
|
||||
public DateTime? RogzitesDatuma { get; set; }
|
||||
public int? FeladatKategoriaId { get; set; }
|
||||
public int? FeladatEllatasiHelyId { get; set; }
|
||||
public bool Megtartott { get; set; }
|
||||
public bool IsToroltTevekenysegek { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user