init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
using Kreta.Core;
|
||||
using Kreta.DataAccessManual.ParameterClasses;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
public class NemNaplozottTanorakSearchCO
|
||||
{
|
||||
public int? OsztalyCsoportSrc { get; set; }
|
||||
public int? TantargySrc { get; set; }
|
||||
public int? TanarSrc { get; set; }
|
||||
public bool? CsakAHelyettesiteseim { get; set; }
|
||||
public bool? HelyettesitettOraimIs { get; set; }
|
||||
public bool? JovobeniOrakMegjelenitese { get; set; }
|
||||
public DateTime? DatumTol { get; set; }
|
||||
public DateTime? DatumIg { get; set; }
|
||||
public int? OraszamTol { get; set; }
|
||||
public int? OraszamIg { get; set; }
|
||||
public DateTime? OraKezdetTol { get; set; }
|
||||
public DateTime? OraKezdetIg { get; set; }
|
||||
public int? FeladatKategoriaId { get; set; }
|
||||
public int? FeladatEllatasiHelyId { get; set; }
|
||||
public bool IsCsakErtekelesZarasa { get; set; }
|
||||
public DateTime NaplozarasDate { get; set; }
|
||||
|
||||
public NemNaplozottOrakPCO ConvertToPCO(int intezmenyId, int tanevId, DateTime start, DateTime end)
|
||||
{
|
||||
return new NemNaplozottOrakPCO
|
||||
{
|
||||
IntezmenyId = intezmenyId,
|
||||
TanevId = tanevId,
|
||||
Start = start,
|
||||
End = end,
|
||||
TanarId = this.TanarSrc,
|
||||
OsztalyCsoportId = this.OsztalyCsoportSrc,
|
||||
TantargyId = this.TantargySrc,
|
||||
CsakAHelyettesiteseim = this.CsakAHelyettesiteseim.ToBool(),
|
||||
HelyettesitettOraimIs = this.HelyettesitettOraimIs.ToBool(),
|
||||
DatumTol = this.DatumTol,
|
||||
DatumIg = this.DatumIg,
|
||||
OraszamTol = this.OraszamTol,
|
||||
OraszamIg = this.OraszamIg,
|
||||
OraKezdetTol = this.OraKezdetTol,
|
||||
OraKezdetIg = this.OraKezdetIg,
|
||||
FeladatKategoriaId = this.FeladatKategoriaId,
|
||||
FeladatEllatasiHelyId = this.FeladatEllatasiHelyId
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue