using Microsoft.AspNetCore.Mvc.Rendering; using Nop.Web.Framework.Models; namespace Nop.Web.Models.Boards; public partial record SearchModel : BaseNopModel { public SearchModel() { LimitList = new List(); ForumList = new List(); WithinList = new List(); ForumTopics = new List(); } public bool ShowAdvancedSearch { get; set; } public string SearchTerms { get; set; } public int? ForumId { get; set; } public int? Within { get; set; } public int? LimitDays { get; set; } public IList ForumTopics { get; set; } public int TopicPageSize { get; set; } public int TopicTotalRecords { get; set; } public int TopicPageIndex { get; set; } public List LimitList { get; set; } public List ForumList { get; set; } public List WithinList { get; set; } public int ForumIdSelected { get; set; } public int WithinSelected { get; set; } public int LimitDaysSelected { get; set; } public bool SearchResultsVisible { get; set; } public bool NoResultsVisisble { get; set; } public string Error { get; set; } public int PostsPageSize { get; set; } public bool AllowPostVoting { get; set; } }