From b3957f4af407b63fce34a091a651d8704c0476c6 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sun, 4 Oct 2026 11:13:09 +0200 Subject: [PATCH] Refactored org create and update models --- PostFundManagement.Application/Services/Governance/Records.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PostFundManagement.Application/Services/Governance/Records.cs b/PostFundManagement.Application/Services/Governance/Records.cs index c777605..d37e3e1 100644 --- a/PostFundManagement.Application/Services/Governance/Records.cs +++ b/PostFundManagement.Application/Services/Governance/Records.cs @@ -38,7 +38,7 @@ public sealed record UpdateOrganisationRequest([Required] long OrganisationId, [Required][MaxLength(LabelLength)] string Name, [Required][MaxLength(LabelLength)] string RegistrationNo, [Required][EmailAddress][MaxLength(LabelLength)] string Email, - [Required][EmailAddress][MaxLength(LabelLength)] string IdNumber, + [Required][MaxLength(LabelLength)] string IdNumber, [Required] Guid OrganisationUser, [Required] OrganisationType Type, [Required] ActivityStatus Status); @@ -46,7 +46,7 @@ public sealed record UpdateOrganisationRequest([Required] long OrganisationId, public sealed record CreateOrganisationRequest([Required][MaxLength(LabelLength)] string Name, [Required][MaxLength(LabelLength)] string RegistrationNo, [Required][EmailAddress][MaxLength(LabelLength)] string Email, - [Required][EmailAddress][MaxLength(LabelLength)] string IdNumber, + [Required][MaxLength(LabelLength)] string IdNumber, [Required] Guid OrganisationUser, [Required] OrganisationType Type = OrganisationType.PrivateLimitedCompany); -- 2.47.3