63 lines
2.7 KiB
C#
63 lines
2.7 KiB
C#
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 InformaciokOraAdatai
|
|
{
|
|
public InformaciokOraAdatai()
|
|
{
|
|
TanoraTemaEllenorzobenLathato = new SystemSettingsHelper(ConnectionTypeExtensions.GetSessionConnectionType()).GetSystemSettingValue<bool>(RendszerBeallitasTipusEnum.Tanora_Tema_Az_Ellenorzoben);
|
|
}
|
|
|
|
public bool TanoraTemaEllenorzobenLathato { get; set; }
|
|
|
|
public bool IsHelyettesitoTanarLathato { get; set; }
|
|
|
|
public string OsztalyNev { get; set; }
|
|
public bool Megtartott { get; set; }
|
|
public bool IsTanora { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.Targy), ResourceType = typeof(OrarendResource))]
|
|
public string Targy { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.Tanar), ResourceType = typeof(OrarendResource))]
|
|
public string Tanar { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.Terem), ResourceType = typeof(OrarendResource))]
|
|
public string Terem { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.OraTemaja), ResourceType = typeof(OrarendResource))]
|
|
public string Tema { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.HelyettesitoTanar), ResourceType = typeof(OrarendResource))]
|
|
public string HelyettesitoTanar { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.Mulasztas), ResourceType = typeof(OrarendResource))]
|
|
public string MulasztasText { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.Oraszam), ResourceType = typeof(OrarendResource))]
|
|
public string Oraszam { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.OraDatuma), ResourceType = typeof(OrarendResource))]
|
|
public string Datum { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.OraTartam), ResourceType = typeof(OrarendResource))]
|
|
public string OraTartam { get; set; }
|
|
|
|
//[Display(Name = nameof(OrarendResource.HaziFeladat), ResourceType = typeof(OrarendResource))]
|
|
//public string HaziFeladat { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.SzamonkeresMod), ResourceType = typeof(OrarendResource))]
|
|
public string SzamonkeresMod { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.SzamonkeresMegnevezes), ResourceType = typeof(OrarendResource))]
|
|
public string SzamonkeresMegnevezes { get; set; }
|
|
|
|
//[Display(Name = "Órához csatolt képek listája", ResourceType = typeof(OrarendResource))]
|
|
public string OpenBoardFiles { get; set; }
|
|
}
|
|
}
|