This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,64 @@
using System.Collections.Generic;
using Kreta.Enums.ManualEnums;
namespace Kreta.BusinessLogic.HelperClasses
{
public class TantargyCO
{
public int? ID { get; set; }
public bool GyakorlatiTargy { get; set; }
public string TantargyNev { get; set; }
public string TantargyRovidNev { get; set; }
public int? TargyKategoria { get; set; }
public string TargyKategoriaNev { get; set; }
public int? ESLTantargykategoria { get; set; }
public string ESLTantargykategoriaNev { get; set; }
public int? FoTargyID { get; set; }
public string FoTargyNev { get; set; }
public bool isFoTargy { get; set; }
public int? Evfolyam { get; set; }
public bool AltantargyNyomtatvanyban { get; set; }
public string NevNyomtatvanyban { get; set; }
public int? TanevID { get; set; }
public string Tanev { get; set; }
public string TantargyAngolNev { get; set; }
public string TantargyNemetNev { get; set; }
public string TantargyHorvatNev { get; set; }
public string TantargyRomanNev { get; set; }
public string TantargySzerbNev { get; set; }
public int Sorszam { get; set; }
public string Megjegyzes { get; set; }
public int? Gyakorlatigenyesseg { get; set; }
public bool IsAmiTargy { get; set; }
public bool IsKollegiumiTargy { get; set; }
public bool IsEgymiTargy { get; set; }
public bool IsFelnottOktatasTargy { get; set; }
public bool IsNincsBeloleOra { get; set; }
public bool IsOsztalyzattalErtekelheto { get; set; }
public bool IsSzazalekosanErtekelheto { get; set; }
public bool IsSzovegesenErtekelheto { get; set; }
public bool IsTanulmanyiAtlagbaNemSzamit { get; set; }
public bool IsOsztalynaplobanNemJelenikMeg { get; set; }
public bool IsOsztalyokOrarendjebenMegjelenik { get; set; }
public bool IsMszgTargy { get; set; }
public int? MufajTipusId { get; set; }
public int? TanszakTipusId { get; set; }
public int? MuveszetiAgId { get; set; }
public void SetErtekelesKorlatozasok(List<int> ertekelesKorlatozasIdList)
{
if (ertekelesKorlatozasIdList != null && ertekelesKorlatozasIdList.Count > 0)
{
IsOsztalyzattalErtekelheto = ertekelesKorlatozasIdList.Contains((int)ErtekelesKorlatozas.OsztalyzattalErtekelheto);
IsSzovegesenErtekelheto = ertekelesKorlatozasIdList.Contains((int)ErtekelesKorlatozas.SzovegesenErtekelheto);
IsSzazalekosanErtekelheto = ertekelesKorlatozasIdList.Contains((int)ErtekelesKorlatozas.SzazalekosanErtekelheto);
}
else
{
IsOsztalyzattalErtekelheto = false;
IsSzovegesenErtekelheto = false;
IsSzazalekosanErtekelheto = false;
}
}
}
}