Implemented missing file handling endpoints
Added contract update endpoint
This commit is contained in:
@@ -3,28 +3,28 @@ using static PostFundManagement.Domain.Extensions.Constants;
|
||||
|
||||
namespace PostFundManagement.Application.Services.Governance;
|
||||
|
||||
public record UpdatePortfolioRequest([Required] long PortfolioId,
|
||||
public sealed record UpdatePortfolioRequest([Required] long PortfolioId,
|
||||
[Required][MaxLength(LabelLength)] string Name,
|
||||
[Required][MaxLength(TextLength)] string Description,
|
||||
[Required] Guid OwnerId);
|
||||
|
||||
public record CreatePortfolioRequest([Required][MaxLength(LabelLength)] string Name,
|
||||
public sealed record CreatePortfolioRequest([Required][MaxLength(LabelLength)] string Name,
|
||||
[Required][MaxLength(TextLength)] string Description,
|
||||
[Required] long OrganisationId,
|
||||
[Required] Guid OwnerId);
|
||||
|
||||
public record UpdateOrganisationRequest([Required] long OrganisationId,
|
||||
public sealed record UpdateOrganisationRequest([Required] long OrganisationId,
|
||||
[Required][MaxLength(LabelLength)] string Name,
|
||||
[Required][MaxLength(LabelLength)] string RegistrationNo,
|
||||
[Required][EmailAddress][MaxLength(LabelLength)] string Email,
|
||||
[Required] OrganisationType Type);
|
||||
|
||||
public record CreateOrganisationRequest([Required][MaxLength(LabelLength)] string Name,
|
||||
public sealed record CreateOrganisationRequest([Required][MaxLength(LabelLength)] string Name,
|
||||
[Required][MaxLength(LabelLength)] string RegistrationNo,
|
||||
[Required][EmailAddress][MaxLength(LabelLength)] string Email,
|
||||
[Required] OrganisationType Type = OrganisationType.PrivateLimitedCompany);
|
||||
|
||||
public record Dashboard([Required] decimal PortfolioValue,
|
||||
public sealed record Dashboard([Required] decimal PortfolioValue,
|
||||
[Required] int ActiveAwards,
|
||||
[Required] decimal Disbursed,
|
||||
[Required] double OnTrackPercentage,
|
||||
|
||||
Reference in New Issue
Block a user