freetubesync/FreeTubeSync/Model/SearchHistory.cs
Mario Steele 0144221712 Initial Commit
Inital Commit of Code base, nothing tested.
2025-07-19 04:02:09 -05:00

17 lines
No EOL
448 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 int lastUpdatedAt { get; set; }
public void Update(SearchHistory other)
{
if (other.lastUpdatedAt != lastUpdatedAt) lastUpdatedAt = other.lastUpdatedAt;
}
}