using Tnsu.ApprovalRoute.Domain.Enums; namespace Tnsu.ApprovalRoute.Domain.Entities; public class TemplateRoute { public Guid Id { get; set; } = Guid.NewGuid(); public RouteType RouteType { get; set; } = RouteType.Sequential; public Guid RequestTypeId { get; set; } // Внешние справочники (1С/ZUP) — хранятся как ссылки без FK в этой БД. public Guid? DepartmentId { get; set; } public Guid CompanyId { get; set; } public bool ByProject { get; set; } public bool RequiresControl { get; set; } public RequestType? RequestType { get; set; } public ICollection Steps { get; set; } = new List(); }