init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
33
KretaWeb/Areas/Tantargy/Models/OraTervModel.cs
Normal file
33
KretaWeb/Areas/Tantargy/Models/OraTervModel.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Web.Mvc;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.Resources;
|
||||
using Kreta.Web.Attributes;
|
||||
|
||||
namespace Kreta.Web.Areas.Tantargy.Models
|
||||
{
|
||||
public class OraTervModel
|
||||
{
|
||||
public OraTervModel()
|
||||
{
|
||||
EvfolyamList = new List<SelectListItem>();
|
||||
}
|
||||
|
||||
public int? OratervId { get; set; }
|
||||
|
||||
public List<SelectListItem> EvfolyamList { get; set; }
|
||||
|
||||
[KretaDisplayName(3390)] /*Tanterv*/
|
||||
public int? TantervId { get; set; }
|
||||
|
||||
[KretaDisplayName(3397)] /*Óraterv neve*/
|
||||
[KretaRequired(StringResourcesId = 3400)] /*Név megadása kötelező!*/
|
||||
[StringLength(maximumLength: 255, ErrorMessageResourceName = nameof(ErrorResource.Max255Karakter), ErrorMessageResourceType = typeof(ErrorResource))]
|
||||
public string Nev { get; set; }
|
||||
|
||||
[KretaDisplayName(442)] /*Évfolyam*/
|
||||
[KretaRequired(StringResourcesId = 3401)] /*Évfolyam megadása kötelező!*/
|
||||
public int? EvfolyamId { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue