init
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user