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

23 lines
686 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 ModuleTools.Attributes;
using System;
namespace CoreModels.ModelsDepartment
{
[EntityDescription("EmployeeEmployeePost", "Связь сотрудника и должность кафедры")]
[EntityDependency("Post", "PostId", "К какой должности относится сотрудник")]
[EntityDependency("Employee", "EmployeeId", "К какой должности относится сотрудник")]
public interface IEmployeePostModel : IId
{
[CheckRigthForMap]
Guid EmployeeId { get; }
Guid PostId { get; }
decimal Rate { get; }
bool IsInternalCombination { get; }
bool IsExternalCombination { get; }
}
}