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);