Models
This commit is contained in:
		
							
								
								
									
										20
									
								
								SchengenVisaApi/Domains/VisaApplicationDomain/PastVisa.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								SchengenVisaApi/Domains/VisaApplicationDomain/PastVisa.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| using Domains.ApplicantDomain; | ||||
|  | ||||
| namespace Domains.VisaApplicationDomain | ||||
| { | ||||
|     /// Visa that <see cref="Applicant"/> already had | ||||
|     public class PastVisa : IEntity | ||||
|     { | ||||
|         /// Unique identifier of <see cref="PastVisa"/> | ||||
|         public Guid Id { get; private set; } = Guid.NewGuid(); | ||||
|  | ||||
|         /// Date of issue | ||||
|         public DateOnly IssueDate { get; set; } | ||||
|  | ||||
|         /// Name of visa | ||||
|         public string Name { get; set; } = null!; | ||||
|  | ||||
|         /// Date when visa expires | ||||
|         public DateOnly ExpirationDate { get; set; } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user