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

41 lines
966 B
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 System;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace CoreModels.ModelsDepartment
{
[EntityDescription("Employee", "Сотрудника кафедры")]
[EntityDependency("User", "UserId", "К какому пользователю относится сотрудник")]
public interface IEmployeeModel : IId
{
Guid UserId { get; }
string FirstName { get; }
string LastName { get; }
string Patronymic { 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; }
string GroupElectricalSafety { get; }
}
}