init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
37
Kreta.BusinessLogic/HelperClasses/HaziFeladatBaseItemCo.cs
Normal file
37
Kreta.BusinessLogic/HelperClasses/HaziFeladatBaseItemCo.cs
Normal file
|
@ -0,0 +1,37 @@
|
|||
using System;
|
||||
using System.Data;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.Core;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
public abstract class HaziFeladatBaseItemCo
|
||||
{
|
||||
public HaziFeladatBaseItemCo(DataRow row)
|
||||
{
|
||||
Id = SDAConvert.ToInt32(row["ID"]);
|
||||
OraDatuma = SDAConvert.ToDateTime(row["OraDatuma"]);
|
||||
OraSorszama = SDAConvert.ToInt32(row["OraSorszama"]);
|
||||
TanarId = SDAConvert.ToInt32(row["TanarId"]);
|
||||
TanarNev = SDAConvert.ToString(row["Tanar"]).ReplaceMultipleSpacesAndTrim();
|
||||
TantargyId = SDAConvert.ToInt32(row["TantargyId"]);
|
||||
TantargyNev = SDAConvert.ToString(row["Tantargy"]).ReplaceMultipleSpacesAndTrim();
|
||||
OsztalyCsoportId = SDAConvert.ToInt32(row["OsztalyCsoportId"]);
|
||||
OsztalyCsoportNev = SDAConvert.ToString(row["OsztalyCsoport"]).ReplaceMultipleSpacesAndTrim();
|
||||
HataridoDatuma = SDAConvert.ToDateTime(row["HaziFeladatHataridoDatuma"]);
|
||||
HazifeladatId = SDAConvert.ToInt32(row["HazifeladatId"]);
|
||||
}
|
||||
|
||||
public int Id { get; set; }
|
||||
public DateTime? OraDatuma { get; set; }
|
||||
public int OraSorszama { get; set; }
|
||||
public int TanarId { get; set; }
|
||||
public string TanarNev { get; set; }
|
||||
public int TantargyId { get; set; }
|
||||
public string TantargyNev { get; set; }
|
||||
public int OsztalyCsoportId { get; set; }
|
||||
public string OsztalyCsoportNev { get; set; }
|
||||
public DateTime? HataridoDatuma { get; set; }
|
||||
public int HazifeladatId { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue