using NodaTime;
namespace JobsJobsJobs.Shared
{
///
/// A user of Jobs, Jobs, Jobs
///
public record Citizen(
CitizenId Id,
string NaUser,
string? DisplayName,
string? RealName,
string ProfileUrl,
Instant JoinedOn,
Instant LastSeenOn)
{
///
/// The user's name by which they should be known
///
public string CitizenName => RealName ?? DisplayName ?? NaUser;
}
}