freetubesync/FreeTubeSync/Model/SearchHistory.cs
Mario Steele a61362e9b5 Updated Playlist, SearchHistory and Video
Changed all ints to longs for field datatypes dealing with Unix
timestamp.
2025-07-19 12:42:26 -05:00

17 lines
No EOL
449 B
C#

using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
namespace FreeTubeSync.Model;
[SuppressMessage("ReSharper", "InconsistentNaming")]
public class SearchHistory
{
[Key]
public string _id { get; set; } = string.Empty;
public long lastUpdatedAt { get; set; }
public void Update(SearchHistory other)
{
if (other.lastUpdatedAt != lastUpdatedAt) lastUpdatedAt = other.lastUpdatedAt;
}
}