Finishline #137
@@ -90,7 +90,7 @@
|
|||||||
<!-- Shared Static Usings -->
|
<!-- Shared Static Usings -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Using Static="true" Include="PostFundManagement.Application.Extensions.General" />
|
<Using Static="true" Include="PostFundManagement.Application.Extensions.General" />
|
||||||
<Using Static="true" Alias="Problems" Include="Microsoft.AspNetCore.Mvc.ProblemDetails" />
|
<Using Alias="Problems" Include="Microsoft.AspNetCore.Mvc.ProblemDetails" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Shared Global Usings -->
|
<!-- Shared Global Usings -->
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
namespace PostFundManagement.Application.Abstractions.Services;
|
|
||||||
|
|
||||||
public interface IToolService
|
|
||||||
{
|
|
||||||
Task<Result<string>> EncodeLong(long id, CancellationToken cancellationToken);
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Infrastructure.Database;
|
using PostFundManagement.Infrastructure.Database;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Extensions;
|
namespace PostFundManagement.Application.Extensions;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using PostFundManagement.Domain.Quartz;
|
using PostFundManagement.Domain.Quartz;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Extensions;
|
namespace PostFundManagement.Application.Extensions;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
using PostFundManagement.Application.Services.Shared;
|
using PostFundManagement.Application.Services.Shared;
|
||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Extensions;
|
namespace PostFundManagement.Application.Extensions;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ using PostFundManagement.Domain.Configuration.Security;
|
|||||||
using PostFundManagement.Domain.Extensions;
|
using PostFundManagement.Domain.Extensions;
|
||||||
using PostFundManagement.Infrastructure.Database;
|
using PostFundManagement.Infrastructure.Database;
|
||||||
using PostFundManagement.Infrastructure.Security;
|
using PostFundManagement.Infrastructure.Security;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Extensions;
|
namespace PostFundManagement.Application.Extensions;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
using PostFundManagement.Application.Abstractions.Services;
|
using PostFundManagement.Application.Abstractions.Services;
|
||||||
using static PostFundManagement.Application.Extensions.General;
|
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Filters;
|
namespace PostFundManagement.Application.Filters;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
using PostFundManagement.Application.Extensions;
|
using PostFundManagement.Application.Extensions;
|
||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Filters;
|
namespace PostFundManagement.Application.Filters;
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,12 @@
|
|||||||
<Using Include="Microsoft.AspNetCore.OpenApi" />
|
<Using Include="Microsoft.AspNetCore.OpenApi" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Shared Static Usings -->
|
||||||
|
<ItemGroup>
|
||||||
|
<Using Static="true" Include="PostFundManagement.Application.Extensions.General" />
|
||||||
|
<Using Static="true" Include="PostFundManagement.Domain.Extensions.Constants" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Shared Usings -->
|
<!-- Shared Usings -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Using Include="Humanizer" />
|
<Using Include="Humanizer" />
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using PostFundManagement.Application.Extensions;
|
|||||||
using PostFundManagement.Application.Services.Shared;
|
using PostFundManagement.Application.Services.Shared;
|
||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using PostFundManagement.Domain.Models;
|
using PostFundManagement.Domain.Models;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Communications;
|
namespace PostFundManagement.Application.Services.Communications;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Communications;
|
namespace PostFundManagement.Application.Services.Communications;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using PostFundManagement.Application.Extensions;
|
|||||||
using PostFundManagement.Application.Services.Shared;
|
using PostFundManagement.Application.Services.Shared;
|
||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using PostFundManagement.Domain.Models;
|
using PostFundManagement.Domain.Models;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Evidence;
|
namespace PostFundManagement.Application.Services.Evidence;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Evidence;
|
namespace PostFundManagement.Application.Services.Evidence;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using PostFundManagement.Application.Extensions;
|
|||||||
using PostFundManagement.Application.Services.Shared;
|
using PostFundManagement.Application.Services.Shared;
|
||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using PostFundManagement.Domain.Models;
|
using PostFundManagement.Domain.Models;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Execution;
|
namespace PostFundManagement.Application.Services.Execution;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Execution;
|
namespace PostFundManagement.Application.Services.Execution;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using PostFundManagement.Application.Extensions;
|
|||||||
using PostFundManagement.Application.Services.Shared;
|
using PostFundManagement.Application.Services.Shared;
|
||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using PostFundManagement.Domain.Models;
|
using PostFundManagement.Domain.Models;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Governance;
|
namespace PostFundManagement.Application.Services.Governance;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Governance;
|
namespace PostFundManagement.Application.Services.Governance;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using PostFundManagement.Application.Extensions;
|
|||||||
using PostFundManagement.Application.Services.Shared;
|
using PostFundManagement.Application.Services.Shared;
|
||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using PostFundManagement.Domain.Models;
|
using PostFundManagement.Domain.Models;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Grants;
|
namespace PostFundManagement.Application.Services.Grants;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Grants;
|
namespace PostFundManagement.Application.Services.Grants;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using PostFundManagement.Application.Extensions;
|
|||||||
using PostFundManagement.Application.Services.Shared;
|
using PostFundManagement.Application.Services.Shared;
|
||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using PostFundManagement.Domain.Models;
|
using PostFundManagement.Domain.Models;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Projects;
|
namespace PostFundManagement.Application.Services.Projects;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Projects;
|
namespace PostFundManagement.Application.Services.Projects;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
using PostFundManagement.Application.Abstractions.Services;
|
using PostFundManagement.Application.Abstractions.Services;
|
||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Shared;
|
namespace PostFundManagement.Application.Services.Shared;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using PostFundManagement.Application.Extensions;
|
|||||||
using PostFundManagement.Application.Services.Shared;
|
using PostFundManagement.Application.Services.Shared;
|
||||||
using PostFundManagement.Domain;
|
using PostFundManagement.Domain;
|
||||||
using PostFundManagement.Domain.Models;
|
using PostFundManagement.Domain.Models;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Application.Services.Users;
|
namespace PostFundManagement.Application.Services.Users;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
[EntityTypeConfiguration<AuditLogConfiguration, AuditLog>]
|
[EntityTypeConfiguration<AuditLogConfiguration, AuditLog>]
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
[EntityTypeConfiguration<OrganisationConfiguration, Organisation>]
|
[EntityTypeConfiguration<OrganisationConfiguration, Organisation>]
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
|
||||||
|
|
||||||
[EntityTypeConfiguration<TenantConfiguration, Tenant>]
|
[EntityTypeConfiguration<TenantConfiguration, Tenant>]
|
||||||
public class Tenant : Models.Tenant
|
public class Tenant : Models.Tenant
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Entities;
|
namespace PostFundManagement.Domain.Entities;
|
||||||
|
|
||||||
[EntityTypeConfiguration<UserConfiguration, User>]
|
[EntityTypeConfiguration<UserConfiguration, User>]
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ public enum EmailStatuses : int
|
|||||||
Disconnected = 4,
|
Disconnected = 4,
|
||||||
TooManyConnections = 5,
|
TooManyConnections = 5,
|
||||||
ConnectionAborted = 6,
|
ConnectionAborted = 6,
|
||||||
Success = 7
|
Success = 7,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum NotificationStatus : int
|
public enum NotificationStatus : int
|
||||||
@@ -22,7 +22,7 @@ public enum NotificationStatus : int
|
|||||||
Read = 6,
|
Read = 6,
|
||||||
Failed = 7,
|
Failed = 7,
|
||||||
Cancelled = 8,
|
Cancelled = 8,
|
||||||
Bounced = 9
|
Bounced = 9,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum NotificationPlatform : int
|
public enum NotificationPlatform : int
|
||||||
@@ -35,7 +35,7 @@ public enum NotificationPlatform : int
|
|||||||
Teams = 6,
|
Teams = 6,
|
||||||
Slack = 7,
|
Slack = 7,
|
||||||
Webhook = 8,
|
Webhook = 8,
|
||||||
Other = 99
|
Other = 99,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum EvidenceType : int
|
public enum EvidenceType : int
|
||||||
@@ -51,7 +51,7 @@ public enum EvidenceType : int
|
|||||||
ProcurementDocument = 9,
|
ProcurementDocument = 9,
|
||||||
TechnicalSpecificationOrDesign = 10,
|
TechnicalSpecificationOrDesign = 10,
|
||||||
VideoRecording = 11,
|
VideoRecording = 11,
|
||||||
Other = 99
|
Other = 99,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ProjectType : int
|
public enum ProjectType : int
|
||||||
@@ -66,7 +66,7 @@ public enum ProjectType : int
|
|||||||
SocialImpactAndCommunityDevelopment = 8,
|
SocialImpactAndCommunityDevelopment = 8,
|
||||||
TechnologyTransferAndAdoption = 9,
|
TechnologyTransferAndAdoption = 9,
|
||||||
Innovation = 10,
|
Innovation = 10,
|
||||||
Other = 99
|
Other = 99,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum IndustrySector : int
|
public enum IndustrySector : int
|
||||||
@@ -88,7 +88,7 @@ public enum IndustrySector : int
|
|||||||
RetailAndConsumerGoods = 15,
|
RetailAndConsumerGoods = 15,
|
||||||
TourismAndHospitality = 16,
|
TourismAndHospitality = 16,
|
||||||
WaterAndSanitation = 17,
|
WaterAndSanitation = 17,
|
||||||
Other = 99
|
Other = 99,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum OrganisationType : int
|
public enum OrganisationType : int
|
||||||
@@ -132,7 +132,7 @@ public enum OrganisationType : int
|
|||||||
|
|
||||||
// Consortium & Special Vehicles
|
// Consortium & Special Vehicles
|
||||||
Consortium = 26, // Unincorporated joint venture
|
Consortium = 26, // Unincorporated joint venture
|
||||||
SpecialPurposeVehicle = 27 // SPV / Joint Venture Entity
|
SpecialPurposeVehicle = 27, // SPV / Joint Venture Entity
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum Priority : int
|
public enum Priority : int
|
||||||
@@ -140,7 +140,7 @@ public enum Priority : int
|
|||||||
Low = 1,
|
Low = 1,
|
||||||
Medium = 2,
|
Medium = 2,
|
||||||
High = 3,
|
High = 3,
|
||||||
Critical = 4
|
Critical = 4,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum UnitOfMeasure : int
|
public enum UnitOfMeasure : int
|
||||||
@@ -153,7 +153,7 @@ public enum UnitOfMeasure : int
|
|||||||
Volume = 6,
|
Volume = 6,
|
||||||
DurationDays = 7,
|
DurationDays = 7,
|
||||||
DurationMonths = 8,
|
DurationMonths = 8,
|
||||||
Ratio = 9
|
Ratio = 9,
|
||||||
}
|
}
|
||||||
public enum ContractStatus : int
|
public enum ContractStatus : int
|
||||||
{
|
{
|
||||||
@@ -162,7 +162,7 @@ public enum ContractStatus : int
|
|||||||
Active = 3,
|
Active = 3,
|
||||||
Expired = 4,
|
Expired = 4,
|
||||||
Terminated = 5,
|
Terminated = 5,
|
||||||
Amended = 6
|
Amended = 6,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum RiskLikelihood : int
|
public enum RiskLikelihood : int
|
||||||
@@ -171,7 +171,7 @@ public enum RiskLikelihood : int
|
|||||||
Unlikely = 2,
|
Unlikely = 2,
|
||||||
Possible = 3,
|
Possible = 3,
|
||||||
Likely = 4,
|
Likely = 4,
|
||||||
AlmostCertain = 5
|
AlmostCertain = 5,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum RiskImpact : int
|
public enum RiskImpact : int
|
||||||
@@ -180,7 +180,7 @@ public enum RiskImpact : int
|
|||||||
Minor = 2,
|
Minor = 2,
|
||||||
Moderate = 3,
|
Moderate = 3,
|
||||||
Major = 4,
|
Major = 4,
|
||||||
Critical = 5
|
Critical = 5,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ApprovalStatus : int
|
public enum ApprovalStatus : int
|
||||||
@@ -189,12 +189,12 @@ public enum ApprovalStatus : int
|
|||||||
Review = 2,
|
Review = 2,
|
||||||
Approved = 3,
|
Approved = 3,
|
||||||
Rejected = 4,
|
Rejected = 4,
|
||||||
Removed = 5
|
Removed = 5,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ActivityStatus : int
|
public enum ActivityStatus : int
|
||||||
{
|
{
|
||||||
Active = 1,
|
Active = 1,
|
||||||
Inactive = 2,
|
Inactive = 2,
|
||||||
Disabled = 3
|
Disabled = 3,
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Health;
|
namespace PostFundManagement.Domain.Health;
|
||||||
|
|
||||||
public sealed class PostgresHealthCheck(IConfiguration configuration) : IHealthCheck
|
public sealed class PostgresHealthCheck(IConfiguration configuration) : IHealthCheck
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Domain.Health;
|
namespace PostFundManagement.Domain.Health;
|
||||||
|
|
||||||
public sealed class QuartzHealthCheck(ISchedulerFactory schedulerFactory) : IHealthCheck
|
public sealed class QuartzHealthCheck(ISchedulerFactory schedulerFactory) : IHealthCheck
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ public sealed record UpdateUserRequest(string Id, string UserName, string Email,
|
|||||||
|
|
||||||
public sealed record Claim(string ClaimType, string ClaimValue, int? ClaimId = null);
|
public sealed record Claim(string ClaimType, string ClaimValue, int? ClaimId = null);
|
||||||
|
|
||||||
public record ClaimsResponse(int TotalCount, int PageSize, ICollection<Claim> Claims);
|
public sealed record ClaimsResponse(int TotalCount, int PageSize, ICollection<Claim> Claims);
|
||||||
|
|
||||||
public sealed record UserResponse(string Id, string UserName, string Email, bool IsLockedOut, bool LockoutEnabled);
|
public sealed record UserResponse(string Id, string UserName, string Email, bool IsLockedOut, bool LockoutEnabled);
|
||||||
|
|
||||||
public record Role(string Id, string Name);
|
public sealed record Role(string Id, string Name);
|
||||||
|
|
||||||
public record RolesResponse(int TotalCount, int PageSize, ICollection<Role> Roles);
|
public sealed record RolesResponse(int TotalCount, int PageSize, ICollection<Role> Roles);
|
||||||
@@ -197,6 +197,11 @@
|
|||||||
<Using Include="Amazon.Runtime" />
|
<Using Include="Amazon.Runtime" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Shared Static Usings -->
|
||||||
|
<ItemGroup>
|
||||||
|
<Using Static="true" Include="PostFundManagement.Domain.Extensions.Constants" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Shared Usings -->
|
<!-- Shared Usings -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Using Include="System.ComponentModel.DataAnnotations.Schema" />
|
<Using Include="System.ComponentModel.DataAnnotations.Schema" />
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Infrastructure.Database.Factories;
|
namespace PostFundManagement.Infrastructure.Database.Factories;
|
||||||
|
|
||||||
public sealed partial class ApplicationDbContextFactory : IDesignTimeDbContextFactory<ApplicationDbContext>
|
public sealed partial class ApplicationDbContextFactory : IDesignTimeDbContextFactory<ApplicationDbContext>
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Infrastructure.Database.Factories;
|
namespace PostFundManagement.Infrastructure.Database.Factories;
|
||||||
|
|
||||||
public sealed class DataProtectionDbContextFactory : IDesignTimeDbContextFactory<DataProtectionDbContext>
|
public sealed class DataProtectionDbContextFactory : IDesignTimeDbContextFactory<DataProtectionDbContext>
|
||||||
|
|||||||
@@ -34,6 +34,11 @@
|
|||||||
<Using Include="Microsoft.EntityFrameworkCore.Design" />
|
<Using Include="Microsoft.EntityFrameworkCore.Design" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Shared Static Usings -->
|
||||||
|
<ItemGroup>
|
||||||
|
<Using Static="true" Include="PostFundManagement.Domain.Extensions.Constants" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Extensions -->
|
<!-- Extensions -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.12" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.12" />
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using PostFundManagement.Domain.Abstractions;
|
using PostFundManagement.Domain.Abstractions;
|
||||||
using PostFundManagement.Domain.Errors;
|
using PostFundManagement.Domain.Errors;
|
||||||
using PostFundManagement.Domain.Models.Security;
|
using PostFundManagement.Domain.Models.Security;
|
||||||
using static PostFundManagement.Domain.Extensions.Constants;
|
|
||||||
|
|
||||||
namespace PostFundManagement.Infrastructure.Security;
|
namespace PostFundManagement.Infrastructure.Security;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user