Compare commits
2
Commits
fe9b9052e9
...
3a3d5daefc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a3d5daefc | ||
|
|
b3957f4af4 |
@@ -38,7 +38,7 @@ public sealed record UpdateOrganisationRequest([Required] long OrganisationId,
|
|||||||
[Required][MaxLength(LabelLength)] string Name,
|
[Required][MaxLength(LabelLength)] string Name,
|
||||||
[Required][MaxLength(LabelLength)] string RegistrationNo,
|
[Required][MaxLength(LabelLength)] string RegistrationNo,
|
||||||
[Required][EmailAddress][MaxLength(LabelLength)] string Email,
|
[Required][EmailAddress][MaxLength(LabelLength)] string Email,
|
||||||
[Required][EmailAddress][MaxLength(LabelLength)] string IdNumber,
|
[Required][MaxLength(LabelLength)] string IdNumber,
|
||||||
[Required] Guid OrganisationUser,
|
[Required] Guid OrganisationUser,
|
||||||
[Required] OrganisationType Type,
|
[Required] OrganisationType Type,
|
||||||
[Required] ActivityStatus Status);
|
[Required] ActivityStatus Status);
|
||||||
@@ -46,7 +46,7 @@ public sealed record UpdateOrganisationRequest([Required] long OrganisationId,
|
|||||||
public sealed record CreateOrganisationRequest([Required][MaxLength(LabelLength)] string Name,
|
public sealed record CreateOrganisationRequest([Required][MaxLength(LabelLength)] string Name,
|
||||||
[Required][MaxLength(LabelLength)] string RegistrationNo,
|
[Required][MaxLength(LabelLength)] string RegistrationNo,
|
||||||
[Required][EmailAddress][MaxLength(LabelLength)] string Email,
|
[Required][EmailAddress][MaxLength(LabelLength)] string Email,
|
||||||
[Required][EmailAddress][MaxLength(LabelLength)] string IdNumber,
|
[Required][MaxLength(LabelLength)] string IdNumber,
|
||||||
[Required] Guid OrganisationUser,
|
[Required] Guid OrganisationUser,
|
||||||
[Required] OrganisationType Type = OrganisationType.PrivateLimitedCompany);
|
[Required] OrganisationType Type = OrganisationType.PrivateLimitedCompany);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user