Files
Otchislator/src/Otchinslator/UserData.cs

40 lines
827 B
C#

using System.ComponentModel.DataAnnotations;
namespace Otchinslator;
public class UserData
{
public UserData(
string reason,
string email,
string phone,
string fio,
int kurs,
bool isFreeEducation,
bool isOchno,
SpecialityType speciality,
string direction)
{
}
public UserData()
{
}
public string reason { get; set; }
public string email { get; set; }
public string phone { get; set; }
public string fio { get; set; }
public int kurs { get; set; }
public bool isFreeEducation { get; set; }
public bool isOchno { get; set; }
public SpecialityType speciality { get; set; }
public string direction { get; set; }
}
public enum SpecialityType
{
Bakalavriat,
Magistatura,
Specialitet
}