using System.ComponentModel.DataAnnotations;

namespace OpenArchival.DataAccess;

/// <summary>
/// Used to display sliders of featured artifacts on the search page before a search is entered.
/// </summary>
public class SearchPageSliderEntry
{
    [Key]
    public int Id { get; set; }

    public string Title { get; set; } = "";

    public string Description { get; set; } = "";
    
    /// <summary>
    /// The tags used to find artifacts for the slider
    /// </summary>
    public List<ArtifactEntryTag> FilterTags { get; set; } = [];
    
    /// <summary>
    /// The maximum number of artifact entries that should be pulled for this slider
    /// </summary>
    public int MaxCount { get; set; } = 10;
}
