using System.ComponentModel.DataAnnotations; namespace Cleanuparr.Persistence.Models.Auth; /// /// Records the moment a user first saw a given feature, used to drive the "NEW" feature badges. /// public class UserFeatureView { /// /// Primary key. /// public Guid Id { get; set; } /// /// Owning user. /// public Guid UserId { get; set; } /// /// Stable identifier of the feature, as declared in the frontend registry. /// [Required] [MaxLength(64)] public required string FeatureId { get; set; } /// /// UTC timestamp the user first saw the feature. /// public DateTime FirstSeenAt { get; set; } /// /// Navigation to the owning user. /// public User User { get; set; } = null!; }