Stable run,
Added remaining service implementations (stubs)
This commit is contained in:
@@ -3,6 +3,75 @@ using static PostFundManagement.Domain.Extensions.Constants;
|
||||
|
||||
namespace PostFundManagement.Application.Services.Projects;
|
||||
|
||||
public sealed record UpdateSiteVisitRequest([Required] long SiteVisitId,
|
||||
[Required][MaxLength(LabelLength)] string InspectorName,
|
||||
[Required][MaxLength(TextLength)] string Findings,
|
||||
[Required] ApprovalStatus Status,
|
||||
[Required] DateTime VisitedAt);
|
||||
|
||||
public sealed record CreateSiteVisitRequest([Required] long ProjectId,
|
||||
[Required][MaxLength(LabelLength)] string InspectorName,
|
||||
[Required][MaxLength(TextLength)] string Findings,
|
||||
[Required] DateTime VisitedAt);
|
||||
|
||||
public sealed record UpdateOutcomeRequest([Required] long OutcomeId,
|
||||
[Required][MaxLength(LabelLength)] string Name,
|
||||
[Required][MaxLength(TextLength)] string Description);
|
||||
|
||||
public sealed record CreateOutcomeRequest([Required] long BeneficiaryId,
|
||||
[Required][MaxLength(LabelLength)] string Name,
|
||||
[Required][MaxLength(TextLength)] string Description);
|
||||
|
||||
public sealed record UpdateIssueRequest([Required] long IssueId,
|
||||
[Required][MaxLength(LabelLength)] string Title,
|
||||
[Required][MaxLength(TextLength)] string Description,
|
||||
[Required][MaxLength(TextLength)] string Resolution,
|
||||
[Required] DateTime? ResolvedAt,
|
||||
[Required] Priority Priority,
|
||||
[Required] ActivityStatus Status,
|
||||
[Required] Guid AssignedTo);
|
||||
|
||||
public sealed record CreateIssueRequest([Required] long ProjectId,
|
||||
[Required][MaxLength(LabelLength)] string Title,
|
||||
[Required][MaxLength(TextLength)] string Description,
|
||||
[Required] Priority Priority,
|
||||
[Required] Guid AssignedTo);
|
||||
|
||||
public sealed record UpdateBeneficiaryRequest([Required] long BeneficiaryId,
|
||||
[Required][MaxLength(LabelLength)] string Name,
|
||||
[Required][MaxLength(LabelLength)] string Category,
|
||||
[Required][MaxLength(LabelLength)] string Location,
|
||||
[Required] int TargetCount,
|
||||
[Required] int ReachedCount);
|
||||
|
||||
public sealed record CreateBeneficiaryRequest([Required] long ProjectId,
|
||||
[Required][MaxLength(LabelLength)] string Name,
|
||||
[Required][MaxLength(LabelLength)] string Category,
|
||||
[Required][MaxLength(LabelLength)] string Location,
|
||||
[Required] int TargetCount,
|
||||
[Required] int ReachedCount);
|
||||
|
||||
public sealed record UpdateComplianceItemRequest([Required] long ComplianceItemId,
|
||||
[Required][MaxLength(LabelLength)] string Title,
|
||||
[Required][MaxLength(TextLength)] string Requirements,
|
||||
[Required] ApprovalStatus Status);
|
||||
|
||||
public sealed record CreateComplianceItemRequest([Required] long ProjectId,
|
||||
[Required][MaxLength(LabelLength)] string Title,
|
||||
[Required][MaxLength(TextLength)] string Requirements);
|
||||
|
||||
public sealed record UpdatehangeRequest([Required] long ChangeRequestId,
|
||||
[Required][MaxLength(LabelLength)] string Title,
|
||||
[Required][MaxLength(TextLength)] string Justification,
|
||||
[Required] decimal RevisedBudget,
|
||||
[Required] ApprovalStatus Status);
|
||||
|
||||
public sealed record CreateChangeRequest([Required] long ProjectId,
|
||||
[Required][MaxLength(LabelLength)] string Title,
|
||||
[Required][MaxLength(TextLength)] string Justification,
|
||||
[Required] decimal RevisedBudget,
|
||||
[Required] DateTime RevisionDate);
|
||||
|
||||
public sealed record UpdateProgrammeRequest([Required] long ProgrammeId,
|
||||
[Required][MaxLength(LabelLength)] string Name,
|
||||
[Required] Guid OwnerId,
|
||||
|
||||
Reference in New Issue
Block a user