Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ForumModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.Forums;

/// 
/// Represents a forum list model
/// 
public partial record ForumModel : BaseNopEntityModel
{
    #region Ctor

    public ForumModel()
    {
        ForumGroups = new List();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.ContentManagement.Forums.Forum.Fields.ForumGroupId")]
    public int ForumGroupId { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Forums.Forum.Fields.Name")]
    public string Name { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Forums.Forum.Fields.Description")]
    public string Description { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Forums.Forum.Fields.DisplayOrder")]
    public int DisplayOrder { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Forums.Forum.Fields.CreatedOn")]
    public DateTime CreatedOn { get; set; }

    public List ForumGroups { get; set; }

    #endregion
}