84 lines
3.6 KiB
C#
84 lines
3.6 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using Kreta.BusinessLogic.Classes;
|
|
using Kreta.BusinessLogic.HelperClasses;
|
|
using Kreta.Resources;
|
|
using Kreta.Web.Attributes;
|
|
|
|
namespace Kreta.Web.Areas.Adatszolgaltatasok.Models
|
|
{
|
|
public class TantargyFelosztasSearchModel
|
|
{
|
|
public int IntezmenyId { get; set; }
|
|
|
|
[Display(Name = nameof(OsztalyCsoportResource.OsztalyCsoport), ResourceType = typeof(OsztalyCsoportResource))]
|
|
public int? SearchOsztalyCsoport { get; set; }
|
|
|
|
[Display(Name = nameof(AdminisztracioResource.Tantargy), ResourceType = typeof(AdminisztracioResource))]
|
|
public int? SearchTantargy { get; set; }
|
|
|
|
[Display(Name = nameof(TantargyfelosztasResource.TanarPedagogusValasztasa), ResourceType = typeof(TantargyfelosztasResource))]
|
|
public int? SearchTanar { get; set; }
|
|
|
|
[KretaDisplayName(442)]
|
|
public int? SearchEvfolyam { get; set; }
|
|
|
|
[KretaDisplayName(1736)/*Foglalkozás tanéve*/]
|
|
public int? SearchTanev { get; set; }
|
|
|
|
[KretaDisplayName(254)/*Heti óraszám*/]
|
|
[KretaRange(1, 200)]
|
|
public double? SearchOraszam { get; set; }
|
|
|
|
[KretaDisplayName(90)/*Feladatellátási hely*/]
|
|
public int? SearchFeladatellatasihely { get; set; }
|
|
|
|
[KretaDisplayName(255)/*Foglalkozas Typusa*/]
|
|
public int? SearchFoglalkozasTipusa { get; set; }
|
|
|
|
public bool ElfogadottTTF { get; set; }
|
|
|
|
public bool ElfogadottESL { get; set; }
|
|
|
|
public bool VeglegesTTF { get; set; }
|
|
|
|
public bool VeglegesESL { get; set; }
|
|
|
|
public bool VeglegesETTF { get; set; }
|
|
|
|
public bool Islocked { get; set; }
|
|
|
|
public int StatusCode { get; set; }
|
|
|
|
[Display(Name = nameof(TantargyfelosztasResource.RegNumber), ResourceType = typeof(TantargyfelosztasResource))]
|
|
public string RegNumber { get; set; }
|
|
|
|
[Display(Name = nameof(TantargyfelosztasResource.Status), ResourceType = typeof(TantargyfelosztasResource))]
|
|
public string StatusTitle { get; set; }
|
|
|
|
[Display(Name = nameof(TantargyfelosztasResource.Status), ResourceType = typeof(TantargyfelosztasResource))]
|
|
public string StatusText { get; set; }
|
|
|
|
public static implicit operator TantargyFelosztasSearchModel(TantargyFelosztasSearchCo tantargyFelosztasSearchCo) => new TantargyFelosztasSearchModel
|
|
{
|
|
IntezmenyId = tantargyFelosztasSearchCo.IntezmenyId,
|
|
SearchOsztalyCsoport = tantargyFelosztasSearchCo.SearchOsztalyCsoport,
|
|
SearchTantargy = tantargyFelosztasSearchCo.SearchTantargy,
|
|
SearchTanar = tantargyFelosztasSearchCo.SearchTanar,
|
|
SearchEvfolyam = tantargyFelosztasSearchCo.SearchEvfolyam,
|
|
SearchTanev = tantargyFelosztasSearchCo.SearchTanev,
|
|
SearchOraszam = tantargyFelosztasSearchCo.SearchOraszam,
|
|
SearchFeladatellatasihely = tantargyFelosztasSearchCo.SearchFeladatellatasihely,
|
|
SearchFoglalkozasTipusa = tantargyFelosztasSearchCo.SearchFoglalkozasTipusa,
|
|
ElfogadottTTF = tantargyFelosztasSearchCo.ElfogadottTTF,
|
|
ElfogadottESL = tantargyFelosztasSearchCo.ElfogadottESL,
|
|
VeglegesTTF = tantargyFelosztasSearchCo.VeglegesTTF,
|
|
VeglegesESL = tantargyFelosztasSearchCo.VeglegesESL,
|
|
VeglegesETTF = tantargyFelosztasSearchCo.VeglegesETTF,
|
|
Islocked = tantargyFelosztasSearchCo.Islocked,
|
|
StatusCode = tantargyFelosztasSearchCo.StatusCode,
|
|
RegNumber = tantargyFelosztasSearchCo.RegNumber,
|
|
StatusTitle = tantargyFelosztasSearchCo.StatusTitle,
|
|
StatusText = tantargyFelosztasSearchCo.StatusText
|
|
};
|
|
}
|
|
}
|