This commit is contained in:
2026-05-17 20:54:09 -04:00
parent 6da2183583
commit 74c21ee5cc
3000 changed files with 11794 additions and 15301 deletions

View File

@@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace OpenArchival.DataAccess;
@@ -19,8 +20,21 @@ public class SearchPageSliderEntry
/// </summary>
public List<ArtifactEntryTag> FilterTags { get; set; } = [];
/// <summary>
/// Only set to true when the slider should show up on the home page, if it is false,
/// it is assumed that this slider should only show up on the featured page
/// </summary>
[DefaultValue(false)]
public bool IsHomePageSlider { get; set; }
/// <summary>
/// Linkage to the homepage configuration if this slider is part of it
/// </summary>
public HomePageConfiguration? HomePageConfiguration { get; set; }
/// <summary>
/// The maximum number of artifact entries that should be pulled for this slider
/// </summary>
public int MaxCount { get; set; } = 10;
}