past visas
This commit is contained in:
@@ -11,11 +11,10 @@ public class PastVisaModel
|
||||
public DateTime IssueDate { get; set; }
|
||||
|
||||
/// Name of visa
|
||||
[Required]
|
||||
[MaxLength(ConfigurationConstraints.VisaNameLength)]
|
||||
public string Name { get; set; } = null!;
|
||||
|
||||
/// Date when visa expires
|
||||
[Required]
|
||||
public DateTime ExpirationDate { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,6 @@ public class PastVisitModel
|
||||
public DateTime EndDate { get; set; }
|
||||
|
||||
/// Destination country of past visit
|
||||
[Required]
|
||||
[MaxLength(ConfigurationConstraints.CountryNameLength)]
|
||||
public string DestinationCountry { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,5 @@ public class PermissionToDestCountryModel
|
||||
|
||||
/// Issuing authority
|
||||
[MaxLength(ConfigurationConstraints.IssuerNameLength)]
|
||||
[Required]
|
||||
public string Issuer { get; set; } = null!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user