DepartmentProject/DepartmentPortal/Common/CoreModels/ModelsDepartment/ILecturerModel.cs

50 lines
1.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using CoreModels.Tools;
using ModuleTools.Attributes;
using System;
namespace CoreModels.ModelsDepartment
{
[EntityDescription("Lecturer", "Преподаваетль кафедры")]
[EntityDependency("User", "UserId", "К какому пользователю относится преподаватель")]
[EntityDependency("LecturerAcademicRank", "LecturerAcademicRankId", "Какое звание имеет преподаватель")]
[EntityDependency("LecturerAcademicDegree", "LecturerAcademicDegreeId", "Какую степень имеет преподаватель")]
public interface ILecturerModel : IId
{
Guid UserId { get; }
Guid? LecturerAcademicRankId { get; }
Guid? LecturerAcademicDegreeId { get; }
string LastName { get; }
string FirstName { get; }
string Patronymic { get; }
string Abbreviation { get; }
[CheckRigthForMap]
DateTime DateBirth { get; }
[CheckRigthForMap]
string Address { get; }
[CheckRigthForMap]
string Email { get; }
[CheckRigthForMap]
string MobileNumber { get; }
[CheckRigthForMap]
string HomeNumber { get; }
string Description { get; }
byte[] Photo { get; }
bool OnlyForPrivate { get; }
string GroupElectricalSafety { get; }
}
}