36 lines
1.3 KiB
C#
36 lines
1.3 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Kreta.Resources;
|
|
using Kreta.Web.Attributes;
|
|
|
|
namespace Kreta.Web.Areas.Tanar.Models
|
|
{
|
|
public class OralatogatasokKereseseAdatModel
|
|
{
|
|
public DateTime Date { get; set; }
|
|
|
|
[KretaDisplayName(273)] /*Dátum*/
|
|
public string DateString { get { return Date.ToShortDateString(); } }
|
|
|
|
[KretaDisplayName(219)] /*Óra*/
|
|
public int Ora { get; set; }
|
|
|
|
[KretaDisplayName(1704)] /*Óralátogatást végző*/
|
|
public string Tanar { get; set; }
|
|
|
|
[KretaDisplayName(1705)] /*Óralátogatást végző beosztása*/
|
|
public string Beosztas { get; set; }
|
|
|
|
[Display(Name = nameof(OralatogatasokResource.LatogatottPedagogus), ResourceType = typeof(OralatogatasokResource))]
|
|
public string LatogatottPedagogus { get; set; }
|
|
|
|
[Display(Name = nameof(AdminisztracioResource.Tantargy), ResourceType = typeof(AdminisztracioResource))]
|
|
public string Tantargy { get; set; }
|
|
|
|
[Display(Name = nameof(OsztalyCsoportResource.OsztalyCsoport), ResourceType = typeof(OsztalyCsoportResource))]
|
|
public string OsztalyCsoport { get; set; }
|
|
|
|
[KretaDisplayName(97)] /*Megjegyzés*/
|
|
public string Megjegyzes { get; set; }
|
|
}
|
|
}
|