Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

508 B
Raw Blame
using Grand.Domain.Common;
using Microsoft.AspNetCore.Mvc.ModelBinding;

namespace Grand.Infrastructure.Models;

/// <summary>
///     Represents base model
/// </summary>
public class BaseModel
{
    #region Ctor

    public BaseModel()
    {
        UserFields = [];
    }

    #endregion

    #region Properties

    public IList<UserField> UserFields { get; set; }

    #endregion

    #region Methods

    public virtual void BindModel(ModelBindingContext bindingContext)
    {
    }
    #endregion
}