kreta/KretaWeb/Areas/Tantargy/Models/TantargyModModel.cs
2024-03-13 00:33:46 +01:00

77 lines
3.7 KiB
C#

using System.ComponentModel.DataAnnotations;
using Kreta.Resources;
using Kreta.Web.Models.EditorTemplates;
namespace Kreta.Web.Areas.Tantargy.Models
{
public class TantargyModModel : TabStripModel
{
public TantargyModModel()
{
}
public int? ID { get; set; }
public string TantargyakIDArray { get; set; }
[Display(Name = nameof(TantargyResource.TantargyNev), ResourceType = typeof(TantargyResource))]
public string TantargyNev { get; set; }
[Display(Name = nameof(TantargyResource.KivalasztottTantargyak), ResourceType = typeof(TantargyResource))]
public string TantargyakNevArray { get; set; }
[Display(Name = nameof(TantargyResource.TantargyKategoria), ResourceType = typeof(TantargyResource))]
public int? TargyKategoria { get; set; }
[Display(Name = nameof(TantargyResource.TantargyKategoria), ResourceType = typeof(TantargyResource))]
public string TargyKategoriaNev { get; set; }
[Display(Name = nameof(TantargyResource.ESLTantargyKategoria), ResourceType = typeof(TantargyResource))]
public int? ESLTargyKategoria { get; set; }
[Display(Name = nameof(TantargyResource.ESLTantargyKategoria), ResourceType = typeof(TantargyResource))]
public string ESLTargyKategoriaNev { get; set; }
[Display(Name = nameof(TantargyResource.KapcsolodoFotantargyNeve), ResourceType = typeof(TantargyResource))]
public int? FoTargyID { get; set; }
[Display(Name = nameof(TantargyResource.Fotantargy), ResourceType = typeof(TantargyResource))]
public int? IsFoTargy { get; set; }
[Display(Name = nameof(TantargyResource.KapcsolodoFotantargyNeve), ResourceType = typeof(TantargyResource))]
public string FoTargyNev { get; set; }
[Display(Name = nameof(TantargyResource.GyakorlatiTargy), ResourceType = typeof(TantargyResource))]
public int? GyakorlatiTargy { get; set; }
[Display(Name = nameof(TantargyResource.AltantargykentBizonyitvanyban), ResourceType = typeof(TantargyResource))]
public int? AltantargyNyomtatvanyban { get; set; }
[Display(Name = nameof(TantargyResource.AngolTantargyNev), ResourceType = typeof(TantargyResource))]
public string TantargyAngolNev { get; set; }
[Display(Name = nameof(TantargyResource.NemetTantargyNev), ResourceType = typeof(TantargyResource))]
public string TantargyNemetNev { get; set; }
[Display(Name = nameof(TantargyResource.Sorszam), ResourceType = typeof(TantargyResource))]
[Range(Core.Constants.MinMaxValues.MinTantargySorszam, Core.Constants.MinMaxValues.MaxTantargySorszam, ErrorMessageResourceName = nameof(ErrorResource.Ervenytelen), ErrorMessageResourceType = typeof(ErrorResource))]
public int? Sorszam { get; set; }
[Display(Name = nameof(TantargyResource.AmiTargy), ResourceType = typeof(TantargyResource))]
public int? IsAmiTargyMod { get; set; }
[Display(Name = nameof(TantargyResource.MSZGtantargy), ResourceType = typeof(TantargyResource))]
public int? IsMszgTargyMod { get; set; }
[Display(Name = nameof(TantargyResource.KollegiumiTargy), ResourceType = typeof(TantargyResource))]
public int? IsKollegiumiTargy { get; set; }
[Display(Name = nameof(TantargyResource.FelnottoktatasTargy), ResourceType = typeof(TantargyResource))]
public int? IsFelnottOktatasTargy { get; set; }
[Display(Name = nameof(TantargyResource.NincsBeloleOra), ResourceType = typeof(TantargyResource))]
public int? IsNincsBeloleOraMod { get; set; }
[Display(Name = nameof(TantargyResource.IsEgymi), ResourceType = typeof(TantargyResource))]
public int? IsEgymiTargyMod { get; set; }
}
}