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