17 lines
514 B
C#
17 lines
514 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Domains;
|
|
|
|
namespace ApplicationLayer.Services.VisaApplications.Models;
|
|
|
|
/// Model of permission to destination country for presentation layer
|
|
public class PermissionToDestCountryModel
|
|
{
|
|
/// Date when permission to destination country expires
|
|
[Required]
|
|
public DateTime ExpirationDate { get; set; }
|
|
|
|
/// Issuing authority
|
|
[Required]
|
|
[MaxLength(ConfigurationConstraints.IssuerNameLength)]
|
|
public string Issuer { get; set; } = null!;
|
|
} |