39 lines
1.3 KiB
C#
39 lines
1.3 KiB
C#
using System.Collections.Generic;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses
|
|
{
|
|
[XmlRoot(ElementName = "BelepesiAdatok")]
|
|
public class BelepesiAdatokListCO
|
|
{
|
|
public BelepesiAdatokListCO()
|
|
{
|
|
BelepesiAdatokList = new List<BelepesiAdatok>();
|
|
}
|
|
|
|
[XmlArray(ElementName = "BelepesiAdatokLista")]
|
|
[XmlArrayItem("BelepesiAdat", Type = typeof(BelepesiAdatok))]
|
|
public List<BelepesiAdatok> BelepesiAdatokList { get; set; }
|
|
public List<string> ErrorList { get; set; } = new List<string>();
|
|
public string EmailErrors { get; set; }
|
|
public bool IsUresFelhasznaloNevError { get; set; }
|
|
public bool IsUresOktatasiAzonositoError { get; set; }
|
|
}
|
|
}
|
|
|
|
public class BelepesiAdatok
|
|
{
|
|
//Tanuló id-ja mindkét hozzáférés generálásnál
|
|
public int Id { get; set; }
|
|
public string UserName { get; set; }
|
|
public string Password { get; set; }
|
|
public int GondviseloId { get; set; }
|
|
public string NemGeneralhato { get; set; }
|
|
public string Salt { get; set; }
|
|
|
|
//Dokumentumgenerálás miatt szükséges mezők // //Osztaly, Intezmeny, TanuloNev, Azonosito, Jelszo, Link
|
|
public string Osztaly { get; set; }
|
|
public string TanuloNev { get; set; }
|
|
public string GondviseloNev { get; set; }
|
|
|
|
}
|