Admin controller, Locations controller, requests to add available countries, request to get available countries
This commit is contained in:
@@ -6,7 +6,9 @@ namespace Domains.ApplicantDomain;
|
||||
public class Applicant : IEntity
|
||||
{
|
||||
/// Unique identifier of the <see cref="Applicant"/>
|
||||
public Guid Id { get; set; }
|
||||
public Guid Id { get; private set; } = Guid.NewGuid();
|
||||
|
||||
public Guid UserId { get; set; }
|
||||
|
||||
/// Full name of the <see cref="Applicant"/>
|
||||
public Name Name { get; set; } = null!;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
namespace Domains.LocationDomain;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Domains.LocationDomain;
|
||||
|
||||
/// Model of a city
|
||||
public class City : IEntity
|
||||
@@ -10,5 +12,6 @@ public class City : IEntity
|
||||
public string Name { get; set; } = null!;
|
||||
|
||||
/// <see cref="LocationDomain.Country"/> in which the city is located
|
||||
[JsonIgnore]
|
||||
public Country Country { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user