using System.ComponentModel.DataAnnotations.Schema; using DCGEngine.Database.Models; using Microsoft.EntityFrameworkCore; using SVSim.Database.Enums; namespace SVSim.Database.Models; /// /// A connection between a social account (ie facebook) and a viewer. /// [Owned] public class SocialAccountConnection { /// /// 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; } = new Viewer(); }