Made ReentryPermit an owned type
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
namespace Domains.VisaApplicationDomain
|
namespace Domains.VisaApplicationDomain
|
||||||
{
|
{
|
||||||
/// Permission to enter a country the issuer wants to come from
|
/// 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"/>
|
/// Number of <see cref="ReentryPermit"/>
|
||||||
public Guid Id { get; private set; } = Guid.NewGuid();
|
public string Number { get; set; } = null!;
|
||||||
|
|
||||||
/// Date when <see cref="ReentryPermit"/> expires
|
/// Date when <see cref="ReentryPermit"/> expires
|
||||||
public DateOnly ExpirationDate { get; set; }
|
public DateOnly ExpirationDate { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user