init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,65 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.BusinessLogic.HelperClasses;
|
||||
using Kreta.Resources;
|
||||
|
||||
namespace Kreta.Web.Areas.DualisKepzes.Models
|
||||
{
|
||||
public class AdminDualisSzerzodesSearchModel
|
||||
{
|
||||
[Display(Name = nameof(TanarResource.OktatoNeve), ResourceType = typeof(TanarResource))]
|
||||
public int? TanarId { get; set; }
|
||||
|
||||
[Display(Name = nameof(TanuloResource.TanuloNeve), ResourceType = typeof(TanuloResource))]
|
||||
public string NevSearch { get; set; }
|
||||
|
||||
[Display(Name = nameof(TanuloResource.AnyjaNeve), ResourceType = typeof(TanuloResource))]
|
||||
public string AnyjaNeve { get; set; }
|
||||
|
||||
[Display(Name = nameof(TanuloResource.SzuletesiHely), ResourceType = typeof(TanuloResource))]
|
||||
public string SzuletesiHely { get; set; }
|
||||
|
||||
[Display(Name = nameof(TanuloResource.SzuletesiIdo), ResourceType = typeof(TanuloResource))]
|
||||
public DateTime? SzuletesiIdoTol { get; set; }
|
||||
|
||||
[Display(Name = nameof(TanuloResource.SzuletesiIdo), ResourceType = typeof(TanuloResource))]
|
||||
public DateTime? SzuletesiIdoIg { get; set; }
|
||||
|
||||
[Display(Name = nameof(TanuloResource.OktatasiAzonosito), ResourceType = typeof(TanuloResource))]
|
||||
public string OktatasiAzonosito { get; set; }
|
||||
|
||||
[Display(Name = nameof(AlkalmazottResource.DualisKepzohelyNeve), ResourceType = typeof(AlkalmazottResource))]
|
||||
public string DualisKepzohelyNev { get; set; }
|
||||
|
||||
[Display(Name = nameof(AlkalmazottResource.DualisKepzohelyAdoszama), ResourceType = typeof(AlkalmazottResource))]
|
||||
public string DualisKepzohelyAdoszama { get; set; }
|
||||
|
||||
[Display(Name = nameof(TanarResource.FeltoltesDatum), ResourceType = typeof(TanarResource))]
|
||||
public DateTime? FeltoltesDatumTol { get; set; }
|
||||
|
||||
[Display(Name = nameof(TanarResource.FeltoltesDatum), ResourceType = typeof(TanarResource))]
|
||||
public DateTime? FeltoltesDatumIg { get; set; }
|
||||
|
||||
[Display(Name = nameof(TanarResource.RendelkezikSzerzodessel), ResourceType = typeof(TanarResource))]
|
||||
public int? RendelkezikSzerzodessel { get; set; }
|
||||
|
||||
public DualisSzerzodesSearchCo ConvertToCO()
|
||||
{
|
||||
return new DualisSzerzodesSearchCo
|
||||
{
|
||||
TanarId = TanarId,
|
||||
NevSearch = NevSearch,
|
||||
AnyjaNeve = AnyjaNeve,
|
||||
SzuletesiHely = SzuletesiHely,
|
||||
SzuletesiIdoTol = SzuletesiIdoTol,
|
||||
SzuletesiIdoIg = SzuletesiIdoIg,
|
||||
OktatasiAzonosito = OktatasiAzonosito,
|
||||
DualisKepzohelyNev = DualisKepzohelyNev,
|
||||
DualisKepzohelyAdoszama = DualisKepzohelyAdoszama,
|
||||
FeltoltesDatumTol = FeltoltesDatumTol,
|
||||
FeltoltesDatumIg = FeltoltesDatumIg,
|
||||
Statusz = RendelkezikSzerzodessel
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue