26 lines
871 B
C#
26 lines
871 B
C#
using Microsoft.EntityFrameworkCore;
|
|
|
|
public class User
|
|
{
|
|
public int UserId { get; set; }
|
|
public string? SignalMemberId { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? NickName { get; set; }
|
|
public bool IsIntroduced { get; set; }
|
|
public bool AssociationInProgress { get; set; }
|
|
public string? LdapUserName { get; set; }
|
|
public bool WasChosenForSuggestionThisRound { get; set; }
|
|
public string PreferredName
|
|
{
|
|
get
|
|
{
|
|
return (string.IsNullOrEmpty(NickName) ? Name : NickName).ToString();
|
|
}
|
|
}
|
|
public required List<Song> LikedSongs { get; set; }
|
|
|
|
public string? SpotifyAuthAccessToken { get; set; }
|
|
public int? SpotifyAuthExpiresAfterSeconds { get; set; }
|
|
public DateTime? SpotifyAuthCreatedAt { get; set; }
|
|
public string? SpotifyAuthRefreshToken { get; set; }
|
|
} |