18 lines
486 B
C#
18 lines
486 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Domains;
|
|
|
|
namespace ApplicationLayer.Services.VisaApplications.Models;
|
|
|
|
/// Model of re-entry permit for presentation layer
|
|
public class ReentryPermitModel
|
|
{
|
|
/// Number of re-entry permit
|
|
[MaxLength(ConfigurationConstraints.ReentryPermitNumberLength)]
|
|
[Required]
|
|
public string Number { get; set; } = null!;
|
|
|
|
/// Date when re-entry permit expires
|
|
[Required]
|
|
public DateTime ExpirationDate { get; set; }
|
|
}
|