using System; using System.Linq; using PetaPoco; using Sony.Filtr.Contracts.Definitions; using Newtonsoft.Json; namespace Sony.Filtr.Contracts.Entities { [TableName("tblServiceAccount")] [PrimaryKey("Id", autoIncrement = true)] public class ServiceAccount { public int Id { get; set; } public ServiceType ServiceType { get; set; } public int MusicServiceId { get; set; } public string DisplayName { get; set; } public string UserIdentifier { get; set; } public string AccessToken { get; set; } public int? AccessTokenExpiry { get; set; } public string RefreshToken { get; set; } public DateTime UpdatedDate { get; set; } public int ApplicationId { get; set; } public string ChannelName { get; set; } } }