Webiant Logo Webiant Logo
  1. No results found.

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

TemplatesModel.cs

using Nop.Web.Framework.Models;

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

/// 
/// Represents a templates model
/// 
public partial record TemplatesModel : BaseNopModel
{
    #region Ctor

    public TemplatesModel()
    {
        TemplatesCategory = new CategoryTemplateSearchModel();
        TemplatesManufacturer = new ManufacturerTemplateSearchModel();
        TemplatesProduct = new ProductTemplateSearchModel();
        TemplatesTopic = new TopicTemplateSearchModel();

        AddCategoryTemplate = new CategoryTemplateModel();
        AddManufacturerTemplate = new ManufacturerTemplateModel();
        AddProductTemplate = new ProductTemplateModel();
        AddTopicTemplate = new TopicTemplateModel();
    }

    #endregion

    #region Properties

    public CategoryTemplateSearchModel TemplatesCategory { get; set; }

    public ManufacturerTemplateSearchModel TemplatesManufacturer { get; set; }

    public ProductTemplateSearchModel TemplatesProduct { get; set; }

    public TopicTemplateSearchModel TemplatesTopic { get; set; }

    public CategoryTemplateModel AddCategoryTemplate { get; set; }

    public ManufacturerTemplateModel AddManufacturerTemplate { get; set; }

    public ProductTemplateModel AddProductTemplate { get; set; }

    public TopicTemplateModel AddTopicTemplate { get; set; }

    #endregion
}