Allow null for place of birth and country of birth for CREW/PAS

This commit is contained in:
Daniel Schick 2024-12-29 10:54:43 +01:00
parent b0b6cef327
commit 6ee9293fc8
2 changed files with 2 additions and 4 deletions

View File

@ -43,8 +43,7 @@ namespace bsmd.database
public string CrewMemberFirstName { get; set; }
[ShowReport]
[ReportDisplayName("Place of birth")]
[Validation(ValidationCode.NOT_NULL)]
[ReportDisplayName("Place of birth")]
[MaxLength(100)]
[ENI2Validation]
public string CrewMemberPlaceOfBirth { get; set; }

View File

@ -44,8 +44,7 @@ namespace bsmd.database
public string PassengerFirstName { get; set; }
[ShowReport]
[ReportDisplayName("Place of birth")]
[Validation(ValidationCode.NOT_NULL)]
[ReportDisplayName("Place of birth")]
[MaxLength(100)]
[ENI2Validation]
public string PassengerPlaceOfBirth { get; set; }