Made ReentryPermit an owned type

This commit is contained in:
2024-08-13 21:59:48 +03:00
parent 4f0d5bfaaa
commit 987cf26f7b

View File

@@ -1,10 +1,11 @@
namespace Domains.VisaApplicationDomain
{
/// Permission to enter a country the issuer wants to come from
public class ReentryPermit : IEntity
/// <remarks>Owned</remarks>
public class ReentryPermit
{
/// Unique identifier of <see cref="PastVisa"/>
public Guid Id { get; private set; } = Guid.NewGuid();
/// Number of <see cref="ReentryPermit"/>
public string Number { get; set; } = null!;
/// Date when <see cref="ReentryPermit"/> expires
public DateOnly ExpirationDate { get; set; }