using System.ComponentModel.DataAnnotations.Schema;
using DCGEngine.Database.Models;
using SVSim.Database.Enums;
namespace SVSim.Database.Models;
///
/// A connection between a social account (ie facebook) and a viewer.
///
public class SocialAccountConnection : BaseEntity
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public override Guid Id { get; set; }
///
/// The type of the social account.
///
public SocialAccountType AccountType { get; set; }
///
/// The identifier of the social account.
///
public ulong AccountId { get; set; }
///
/// The viewer connected.
///
public Viewer Viewer { get; set; }
}