using Nop.Web.Areas.Admin.Models.Directory; using Nop.Web.Framework.Models; namespace Nop.Web.Areas.Admin.Models.Shipping; /// /// Represents a shipping method restriction model /// public partial record ShippingMethodRestrictionModel : BaseNopModel { #region Ctor public ShippingMethodRestrictionModel() { AvailableShippingMethods = new List(); AvailableCountries = new List(); Restricted = new Dictionary>(); } #endregion #region Properties public IList AvailableShippingMethods { get; set; } public IList AvailableCountries { get; set; } //[country id] / [shipping method id] / [restricted] public IDictionary> Restricted { get; set; } #endregion }