Files
tnsu-approval-route/backend/Tnsu.ApprovalRoute.Application/TemplateRoutes/TemplateRouteDto.cs
T
2026-08-12 12:19:04 +05:00

29 lines
674 B
C#

namespace Tnsu.ApprovalRoute.Application.TemplateRoutes;
public sealed record TemplateRouteDto(
int Id,
int RequestTypeId,
Guid? DepartmentId,
Guid? CompanyId,
bool ByProject,
bool RequiresControl);
public sealed record CreateTemplateRouteRequest(
int RequestTypeId,
Guid? DepartmentId,
Guid? CompanyId,
bool ByProject,
bool RequiresControl);
public sealed record UpdateTemplateRouteRequest(
Guid? DepartmentId,
Guid? CompanyId,
bool ByProject,
bool RequiresControl);
public sealed record PatchTemplateRouteRequest(
Guid? DepartmentId,
Guid? CompanyId,
bool? ByProject,
bool? RequiresControl);