28 lines
643 B
C#
28 lines
643 B
C#
using Tnsu.ApprovalRoute.Domain.Enums;
|
|
|
|
namespace Tnsu.ApprovalRoute.Application.TemplateRoutes;
|
|
|
|
public sealed record TemplateRouteDto(
|
|
int Id,
|
|
RouteType RouteType,
|
|
int RequestTypeId,
|
|
Guid? DepartmentId,
|
|
Guid CompanyId,
|
|
bool ByProject,
|
|
bool RequiresControl);
|
|
|
|
public sealed record CreateTemplateRouteRequest(
|
|
RouteType RouteType,
|
|
int RequestTypeId,
|
|
Guid? DepartmentId,
|
|
Guid CompanyId,
|
|
bool ByProject,
|
|
bool RequiresControl);
|
|
|
|
public sealed record UpdateTemplateRouteRequest(
|
|
RouteType RouteType,
|
|
Guid? DepartmentId,
|
|
Guid CompanyId,
|
|
bool ByProject,
|
|
bool RequiresControl);
|