init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
30
KretaWeb/Areas/Orarend/Models/TanoraNaplozasTabok.cs
Normal file
30
KretaWeb/Areas/Orarend/Models/TanoraNaplozasTabok.cs
Normal file
|
@ -0,0 +1,30 @@
|
|||
using System.Collections.Generic;
|
||||
using Kreta.Web.Helpers.TabStrip;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Kreta.Web.Areas.Orarend.Models
|
||||
{
|
||||
public class TanoraNaplozasTabok
|
||||
{
|
||||
public TanoraNaplozasTabok(int? szervezetTipusId = null)
|
||||
{
|
||||
TanoraMuveletek = new TanoraMuveletek();
|
||||
TabList = new List<TabStripItemModel>();
|
||||
SzervezetTipusId = szervezetTipusId;
|
||||
}
|
||||
|
||||
public TanoraMuveletek TanoraMuveletek { get; set; }
|
||||
public List<TabStripItemModel> TabList { get; set; }
|
||||
public string SerialisedTanoraMuveletek { get { return JsonConvert.SerializeObject(TanoraMuveletek); } }
|
||||
|
||||
//Ezek az attribútumok a modal fejlécéhez kellenek
|
||||
public int Oraszam { get; set; }
|
||||
public string Tantargy { get; set; }
|
||||
public string OsztalyCsoport { get; set; }
|
||||
public string Fejlec { get; set; }
|
||||
public int? SzervezetTipusId { get; set; }
|
||||
public string ControllerName => SzervezetTipusId.HasValue ? Constants.Controllers.DualisTanariOrarend : Constants.Controllers.TanariOrarend;
|
||||
public string ApiControllerName => SzervezetTipusId.HasValue ? Constants.ApiControllers.DualisTanariOrarendApi : Constants.ApiControllers.TanariOrarendApi;
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue