Also returning skills with profile inquiries now, though that particular query is failing (current WIP) #2
32 lines
780 B
C#
32 lines
780 B
C#
using NodaTime;
|
|
using System;
|
|
|
|
namespace JobsJobsJobs.Shared
|
|
{
|
|
/// <summary>
|
|
/// A job seeker profile
|
|
/// </summary>
|
|
public record Profile(
|
|
CitizenId Id,
|
|
bool SeekingEmployment,
|
|
bool IsPublic,
|
|
ContinentId ContinentId,
|
|
string Region,
|
|
bool RemoteWork,
|
|
bool FullTime,
|
|
MarkdownString Biography,
|
|
Instant LastUpdatedOn,
|
|
MarkdownString? Experience)
|
|
{
|
|
/// <summary>
|
|
/// Navigation property for continent
|
|
/// </summary>
|
|
public Continent? Continent { get; set; }
|
|
|
|
/// <summary>
|
|
/// Convenience property for skills associated with a profile
|
|
/// </summary>
|
|
public Skill[] Skills { get; set; } = Array.Empty<Skill>();
|
|
}
|
|
}
|