21 lines
745 B
C#
21 lines
745 B
C#
using Tnsu.ApprovalRoute.Domain.Enums;
|
|
|
|
namespace Tnsu.ApprovalRoute.Domain.Entities;
|
|
|
|
public class TemplateRouteStep
|
|
{
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
public int OrderNo { get; set; }
|
|
|
|
// Внешняя ссылка на пользователя (1С/ZUP) — без локальной таблицы Users.
|
|
public string ExecutorEmail { get; set; } = string.Empty;
|
|
public string Position { get; set; } = string.Empty;
|
|
public ProjectRole ProjectRole { get; set; } = ProjectRole.None;
|
|
|
|
public RouteStepStatus Status { get; set; } = RouteStepStatus.Draft;
|
|
public Guid RouteId { get; set; }
|
|
public bool AllowReassignToOtherApprovers { get; set; }
|
|
|
|
public TemplateRoute? Route { get; set; }
|
|
}
|