init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
Kreta.BusinessLogic/HelperClasses
46
Kreta.BusinessLogic/HelperClasses/TanevCO.cs
Normal file
46
Kreta.BusinessLogic/HelperClasses/TanevCO.cs
Normal file
|
@ -0,0 +1,46 @@
|
|||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
using System;
|
||||
using Kreta.Enums.ManualEnums;
|
||||
|
||||
public class TanevCO
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Nev { get; set; }
|
||||
|
||||
public DateTime KezdoNap { get; set; }
|
||||
|
||||
public DateTime UtolsoNap { get; set; }
|
||||
|
||||
public DateTime ElsoTanitasiNap { get; set; }
|
||||
|
||||
public DateTime UtolsoTanitasiNap { get; set; }
|
||||
|
||||
public DateTime UtolsoTanitasiNapVegzos { get; set; }
|
||||
|
||||
public int Sorszam { get; set; }
|
||||
|
||||
public bool IsAktiv { get; set; }
|
||||
|
||||
public bool IsKovetkezo { get; set; }
|
||||
|
||||
public bool IsKivalaszthato { get; set; }
|
||||
|
||||
public FoglalkozasokRogziteseHetvegere FoglalkozasokRogziteseHetvegereEnum { private get; set; }
|
||||
|
||||
public DateTime OraFelvetelKezdete
|
||||
{
|
||||
get
|
||||
{
|
||||
if (FoglalkozasokRogziteseHetvegereEnum == FoglalkozasokRogziteseHetvegere.Engedelyezett ||
|
||||
FoglalkozasokRogziteseHetvegereEnum == FoglalkozasokRogziteseHetvegere.CsakSzombat)
|
||||
{
|
||||
return KezdoNap;
|
||||
}
|
||||
|
||||
return ElsoTanitasiNap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue