using System; using PetaPoco; namespace Sony.Filtr.AdminSearch.Models { [TableName("tblAdminSearchHistory")] public class SearchHistoryItem { public string UserId { get; set; } public DateTime Timestamp { get; set; } public string SearchResultUri { get; set; } public string SearchTerm { get; set; } public SearchHistoryItemType SearchResultType { get; set; } } public enum SearchHistoryItemType { User, Album, Track, Playlist, Artist } }