init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
44
KretaWeb/Areas/Tantargy/Models/TanorakSearchModel.cs
Normal file
44
KretaWeb/Areas/Tantargy/Models/TanorakSearchModel.cs
Normal file
|
@ -0,0 +1,44 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.BusinessLogic.Logic.Naplozas.Elokeszites;
|
||||
using Kreta.Resources;
|
||||
|
||||
namespace Kreta.Web.Areas.Tantargy.Models
|
||||
{
|
||||
public class TanorakSearchModel
|
||||
{
|
||||
[Display(Name = nameof(TantargyResource.IdoszakKezdete), ResourceType = typeof(TantargyResource))]
|
||||
public DateTime? IdoszakKezdete { get; set; }
|
||||
|
||||
[Display(Name = nameof(TantargyResource.IdoszakVege), ResourceType = typeof(TantargyResource))]
|
||||
public DateTime? IdoszakVege { get; set; }
|
||||
|
||||
[Display(Name = nameof(TantargyResource.OsztalyCsoport), ResourceType = typeof(TantargyResource))]
|
||||
public int? OsztalyCsoportId { get; set; }
|
||||
|
||||
[Display(Name = nameof(TantargyResource.Helyettesitett), ResourceType = typeof(TantargyResource))]
|
||||
public int? Helyetesitett { get; set; }
|
||||
|
||||
[Display(Name = nameof(TantargyResource.Tanar), ResourceType = typeof(TantargyResource))]
|
||||
public int? TanarId { get; set; }
|
||||
|
||||
[Display(Name = nameof(TantargyResource.Tantargy), ResourceType = typeof(TantargyResource))]
|
||||
public int? TantargyId { get; set; }
|
||||
|
||||
public DateTime? OraKezdete { get; set; }
|
||||
|
||||
public int? SzervezetTipusId_TanorakSearch { get; set; }
|
||||
|
||||
public TanorakSearchModel(int? szervezetTipusId = null)
|
||||
{
|
||||
SzervezetTipusId_TanorakSearch = szervezetTipusId;
|
||||
}
|
||||
|
||||
public void Fill(NaplozasElokeszitesModel model)
|
||||
{
|
||||
OsztalyCsoportId = model.OraAdat.OsztalyCsoportId;
|
||||
TantargyId = model.OraAdat.TantargyId;
|
||||
OraKezdete = model.OraAdat.OraKezdete;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue