using System.ComponentModel.DataAnnotations; using Kreta.BusinessLogic.Interfaces; using Kreta.Resources; using Kreta.Web.Attributes; namespace Kreta.Web.Areas.Tantargy.Models { public class TanmenetGridModel : IKretaIdentity { public string ID { get; set; } [Display(Name = nameof(AdminisztracioResource.Tantargy), ResourceType = typeof(AdminisztracioResource))] public string TantargyNev { get; set; } [Display(Name = nameof(OsztalyCsoportResource.Osztaly), ResourceType = typeof(OsztalyCsoportResource))] public string OsztalyCsoportNev { get; set; } [Display(Name = nameof(TanmenetResource.Oraszam), ResourceType = typeof(TanmenetResource))] public int OraszamCount { get; set; } } }