using System.Collections.Generic; using Newtonsoft.Json; namespace Kreta.Client.Mdsz.Dto { public class MdszDto { [JsonProperty(PropertyName = "iskola")] public IskolaDto Iskola { get; set; } [JsonProperty(PropertyName = "tanar")] public TanarDto Tanar { get; set; } [JsonProperty(PropertyName = "diakok")] public List Diakok { get; set; } public class IskolaDto { [JsonProperty(PropertyName = "om")] public string Om { get; set; } [JsonProperty(PropertyName = "nev")] public string Nev { get; set; } [JsonProperty(PropertyName = "rovid_nev")] public string RovidNev { get; set; } [JsonProperty(PropertyName = "adoszam")] public string Adoszam { get; set; } [JsonProperty(PropertyName = "url")] public string Url { get; set; } [JsonProperty(PropertyName = "tel")] public string Telefon { get; set; } [JsonProperty(PropertyName = "fax")] public string Fax { get; set; } [JsonProperty(PropertyName = "e-mail")] public string Email { get; set; } [JsonProperty(PropertyName = "vezeto_nev")] public string VezetoNeve { get; set; } [JsonProperty(PropertyName = "cim_irsz")] public string CimIrsz { get; set; } [JsonProperty(PropertyName = "cim_telep")] public string CimVaros { get; set; } [JsonProperty(PropertyName = "cim_utca")] public string CimKozteruletNevJelleg { get; set; } [JsonProperty(PropertyName = "cim_hsz")] public string CimHsz { get; set; } [JsonProperty(PropertyName = "int_nev")] public string IntezmenyNev { get; set; } [JsonProperty(PropertyName = "int_rovid_nev")] public string IntezmenyRovidNev { get; set; } [JsonProperty(PropertyName = "int_adoszam")] public string IntezmenyAdoszam { get; set; } [JsonProperty(PropertyName = "int_url")] public string IntezmenyUrl { get; set; } [JsonProperty(PropertyName = "int_tel")] public string IntezmenyTelefon { get; set; } [JsonProperty(PropertyName = "int_fax")] public string IntezmenyFax { get; set; } [JsonProperty(PropertyName = "int_e-mail")] public string IntezmenyEmail { get; set; } [JsonProperty(PropertyName = "int_vezeto_nev")] public string IntezmenyVezetoNev { get; set; } [JsonProperty(PropertyName = "int_cim_irsz")] public string IntezmenyCimIrsz { get; set; } [JsonProperty(PropertyName = "int_cim_telep")] public string IntezmenyCimVaros { get; set; } [JsonProperty(PropertyName = "int_cim_utca")] public string IntezmenyCimKozteruletNevJelleg { get; set; } [JsonProperty(PropertyName = "int_cim_hsz")] public string IntezmenyCimHsz { get; set; } [JsonProperty(PropertyName = "int_tip")] public string IntezmenyTip { get; set; } [JsonProperty(PropertyName = "int_azonosito")] public string IntezmenyAzon { get; set; } } public class TanarDto { [JsonProperty(PropertyName = "om")] public string Om { get; set; } [JsonProperty(PropertyName = "nev")] public string Nev { get; set; } [JsonProperty(PropertyName = "login")] public string Login { get; set; } [JsonProperty(PropertyName = "e-mail")] public string Email { get; set; } [JsonProperty(PropertyName = "tel")] public string Telefon { get; set; } [JsonIgnore] public int Id { get; set; } } public class DiakDto { [JsonProperty(PropertyName = "om")] public string Om { get; set; } [JsonProperty(PropertyName = "nev")] public string Nev { get; set; } [JsonProperty(PropertyName = "szuletesi_nev")] public string SzuletesiNev { get; set; } [JsonProperty(PropertyName = "szuletesi_hely")] public string SzuletesiHely { get; set; } [JsonProperty(PropertyName = "szuletesi_ido")] public string SzuletesiIdo { get; set; } [JsonProperty(PropertyName = "anyja_neve")] public string AnyjaNeve { get; set; } [JsonProperty(PropertyName = "nem")] public string Neme { get; set; } [JsonIgnore] public int Id { get; set; } } } }