using System.ComponentModel.DataAnnotations; using Kreta.BusinessLogic.Helpers.SystemSettings; using Kreta.Enums; using Kreta.Resources; using Kreta.Web.Helpers; namespace Kreta.Web.Areas.Orarend.Models { public class TanitasiOraInfoModel { public TanitasiOraInfoModel() { TanoraTemaEllenorzobenLathato = new SystemSettingsHelper(ConnectionTypeExtensions.GetSessionConnectionType()).GetSystemSettingValue(RendszerBeallitasTipusEnum.Tanora_Tema_Az_Ellenorzoben); } public bool TanoraTemaEllenorzobenLathato { get; set; } [Display(Name = nameof(OrarendResource.Datum), ResourceType = typeof(OrarendResource))] public string Datum { get; set; } [Display(Name = nameof(OrarendResource.OraszamIdopont), ResourceType = typeof(OrarendResource))] public int? Oraszam { get; set; } [Display(Name = nameof(OrarendResource.HetNapja), ResourceType = typeof(OrarendResource))] public string HetNapja { get; set; } [Display(Name = nameof(OrarendResource.Hetirend), ResourceType = typeof(OrarendResource))] public string Hetirend { get; set; } [Display(Name = nameof(OrarendResource.Foglalkozas), ResourceType = typeof(OrarendResource))] public string Foglalkozas { get; set; } [Display(Name = nameof(OrarendResource.OsztalyCsoport), ResourceType = typeof(OrarendResource))] public string OsztalyCsoport { get; set; } [Display(Name = nameof(OrarendResource.Tantargy), ResourceType = typeof(OrarendResource))] public string Tantargy { get; set; } [Display(Name = nameof(OrarendResource.Alkalmazott), ResourceType = typeof(OrarendResource))] public string Tanar { get; set; } [Display(Name = nameof(OrarendResource.Helyiseg), ResourceType = typeof(OrarendResource))] public string Terem { get; set; } [Display(Name = nameof(OrarendResource.Megtartott), ResourceType = typeof(OrarendResource))] public string Megtartott { get; set; } [Display(Name = nameof(OrarendResource.Sorszamozott), ResourceType = typeof(OrarendResource))] public string Sorszamozando { get; set; } [Display(Name = nameof(OrarendResource.TanitasiOraKezdete), ResourceType = typeof(OrarendResource))] public string OraKezdete { get; set; } [Display(Name = nameof(OrarendResource.TanitasiOraVege), ResourceType = typeof(OrarendResource))] public string OraVege { get; set; } [Display(Name = nameof(OrarendResource.TanitasiOraTemaja), ResourceType = typeof(OrarendResource))] public string Tema { get; set; } [Display(Name = nameof(OrarendResource.Megjegyzes), ResourceType = typeof(OrarendResource))] public string Megjegyzes { get; set; } [Display(Name = nameof(OrarendResource.HaziFeladat), ResourceType = typeof(OrarendResource))] public string HaziFeladat { get; set; } [Display(Name = nameof(AdminisztracioResource.HelyettesitoPedagogus), ResourceType = typeof(AdminisztracioResource))] public string HelyettesitoTanar { get; set; } [Display(Name = nameof(AdminisztracioResource.HelyettesitesOka), ResourceType = typeof(AdminisztracioResource))] public string HelyettesitesOka { get; set; } [Display(Name = nameof(AdminisztracioResource.HelyettesitesTipusa), ResourceType = typeof(AdminisztracioResource))] public string HelyettesitesTipusa { get; set; } [Display(Name = nameof(AdminisztracioResource.NaplozasIdopontja), ResourceType = typeof(AdminisztracioResource))] public string NaplozasIdopontja { get; set; } [Display(Name = nameof(AdminisztracioResource.LegutobbiModositasIdopontja), ResourceType = typeof(AdminisztracioResource))] public string LegutobbiModositasIdopontja { get; set; } } }