29 lines
812 B
C#
29 lines
812 B
C#
|
|
namespace DataModels.Models
|
|
{
|
|
public class Student : User
|
|
{
|
|
public Student(string fIO, string email, string password, int code2FA, DateTime date2FA, Specialization spec, Group group)
|
|
: base(fIO, email, password, code2FA, date2FA)
|
|
{
|
|
FIO = fIO;
|
|
Email = email;
|
|
Password = password;
|
|
Code2FA = code2FA;
|
|
Date2FA = date2FA;
|
|
Specialization = spec;
|
|
Group = group;
|
|
}
|
|
|
|
public Student(int id, string fio, string email, string password, int code2FA, DateTime date2FA)
|
|
: base(id,fio, email, password, code2FA, date2FA)
|
|
{
|
|
Id = id;
|
|
}
|
|
|
|
public Specialization? Specialization { get; set; }
|
|
public Group? Group { get; set; }
|
|
|
|
}
|
|
}
|