Enforced relationships between activities and indicators, fixed actuals recording
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using PostFundManagement.Domain;
|
||||
using PostFundManagement.Domain;
|
||||
|
||||
namespace PostFundManagement.Application.Services.Projects;
|
||||
|
||||
@@ -106,3 +106,12 @@ public sealed record CreateActivityRequest([Required] long ProjectId,
|
||||
[Required][MaxLength(LabelLength)] string Title,
|
||||
[Required][MaxLength(TextLength)] string Description,
|
||||
DateTime? PerformedAt);
|
||||
|
||||
public sealed record UpdateActivityRequest([Required] long ActivityId,
|
||||
[Required] long ProjectId,
|
||||
long? MilestoneId,
|
||||
[Required][MaxLength(LabelLength)] string Category,
|
||||
[Required] decimal Amount,
|
||||
[Required][MaxLength(LabelLength)] string Title,
|
||||
[Required][MaxLength(TextLength)] string Description,
|
||||
DateTime? PerformedAt);
|
||||
|
||||
Reference in New Issue
Block a user