29 lines
674 B
C#
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);
|