71 lines
2.7 KiB
C#
71 lines
2.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using Kreta.BusinessLogic.Classes;
|
|
using Kreta.Core;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses
|
|
{
|
|
public class FeljegyzesekCO
|
|
{
|
|
public FeljegyzesekCO()
|
|
{
|
|
|
|
}
|
|
|
|
public FeljegyzesekCO(DataRow dataRow)
|
|
{
|
|
ID = SDAConvert.ToInt32(dataRow["ID"]);
|
|
Datum = SDAConvert.ToDateTime(dataRow["Datum"]).Value;
|
|
Megjegyzes = SDAConvert.ToString(dataRow["Megjegyzes"]).ReplaceMultipleSpacesAndTrim();
|
|
Tartalom = SDAConvert.ToString(dataRow["Tartalom"]).ReplaceMultipleSpacesAndTrim();
|
|
Tipus = SDAConvert.ToInt32(dataRow["Tipus"]);
|
|
//TanuloId = SDAConvert.ToNullableInt32(dataRow[""]);
|
|
TanarId = SDAConvert.ToInt32(dataRow["FeljegyzoId"]);
|
|
//TipusNev = SDAConvert.ToString(dataRow[""]).ReplaceMultipleSpacesAndTrim();
|
|
//TanuloNev = SDAConvert.ToString(dataRow[""]).ReplaceMultipleSpacesAndTrim();
|
|
OsztalyId = SDAConvert.ToInt32(dataRow["OsztalyCsoportId"]);
|
|
OsztalyNev = SDAConvert.ToString(dataRow["OsztalyCsoport"]).ReplaceMultipleSpacesAndTrim();
|
|
TanarNev = SDAConvert.ToString(dataRow["FeljegyzoNev"]).ReplaceMultipleSpacesAndTrim();
|
|
//Cim = SDAConvert.ToString(dataRow[""]).ReplaceMultipleSpacesAndTrim();
|
|
TanarNevElotagNelkul = SDAConvert.ToString(dataRow["FeljegyzoNevElotagNelkul"]);
|
|
OktNevKategoriaTipusId = SDAConvert.ToInt32(dataRow["OktNevKategoriaTipusId"]);
|
|
FeladatEllatasiHelyId = SDAConvert.ToInt32(dataRow["FeladatEllatasiHelyId"]);
|
|
}
|
|
|
|
public int ID { get; set; }
|
|
public DateTime Datum { get; set; }
|
|
public string Megjegyzes { get; set; }
|
|
public string Tartalom { get; set; }
|
|
public int Tipus { get; set; }
|
|
public int? TanuloId { get; set; }
|
|
public int TanarId { get; set; }
|
|
public string TipusNev { get; set; }
|
|
public string TanuloNev { get; set; }
|
|
public int OsztalyId { get; set; }
|
|
public string OsztalyNev { get; set; }
|
|
public string TanarNev { get; set; }
|
|
|
|
public bool Faliujsagra { get; set; }
|
|
public string Cim { get; set; }
|
|
public string TanarNevElotagNelkul { get; set; }
|
|
public DateTime FeljegyzesRogzitesenekDatuma { get; set; }
|
|
|
|
// szűréshez
|
|
public int OktNevKategoriaTipusId { get; set; }
|
|
public int FeladatEllatasiHelyId { get; set; }
|
|
|
|
}
|
|
|
|
public class TanoraFeljegyzeseiCO : List<TanoraFeljegyzeseCO>
|
|
{
|
|
|
|
}
|
|
|
|
public class TanoraFeljegyzeseCO
|
|
{
|
|
public int FeljegyzesId { get; set; }
|
|
public int FeljegyzesTipus { get; set; }
|
|
public int TanuloId { get; set; }
|
|
}
|
|
}
|