Testing more garbage encryption
This commit is contained in:
25
SVSim.Database/Models/SocialAccountConnection.cs
Normal file
25
SVSim.Database/Models/SocialAccountConnection.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using DCGEngine.Database.Models;
|
||||
using SVSim.Database.Enums;
|
||||
|
||||
namespace SVSim.Database.Models;
|
||||
|
||||
/// <summary>
|
||||
/// A connection between a social account (ie facebook) and a viewer.
|
||||
/// </summary>
|
||||
public class SocialAccountConnection : BaseEntity<Guid>
|
||||
{
|
||||
/// <summary>
|
||||
/// The type of the social account.
|
||||
/// </summary>
|
||||
public SocialAccountType AccountType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The identifier of the social account.
|
||||
/// </summary>
|
||||
public ulong AccountId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The viewer connected.
|
||||
/// </summary>
|
||||
public Viewer Viewer { get; set; }
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
using DCGEngine.Database.Models;
|
||||
|
||||
namespace SVSim.Database.Models;
|
||||
|
||||
/// <summary>
|
||||
/// A user within the game system.
|
||||
/// </summary>
|
||||
public class User : BaseEntity<long>
|
||||
{
|
||||
public string ViewerId { get; set; }
|
||||
public ulong SteamId { get; set; }
|
||||
public string DisplayName { get; set; }
|
||||
|
||||
|
||||
}
|
||||
19
SVSim.Database/Models/Viewer.cs
Normal file
19
SVSim.Database/Models/Viewer.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using DCGEngine.Database.Models;
|
||||
|
||||
namespace SVSim.Database.Models;
|
||||
|
||||
/// <summary>
|
||||
/// A user within the game system.
|
||||
/// </summary>
|
||||
public class Viewer : BaseEntity<ulong>
|
||||
{
|
||||
/// <summary>
|
||||
/// This user's name displayed in game.
|
||||
/// </summary>
|
||||
public string DisplayName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// This user's short identifier.
|
||||
/// </summary>
|
||||
public ulong ShortUdid { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user