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

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

/// <summary>
/// Represents a shipping provider model
/// </summary>
public partial record ShippingProviderModel : BaseNopModel, IPluginModel
{
    #region Properties

    [NopResourceDisplayName("Admin.Configuration.Shipping.Providers.Fields.FriendlyName")]
    public string FriendlyName { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Shipping.Providers.Fields.SystemName")]
    public string SystemName { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Shipping.Providers.Fields.DisplayOrder")]
    public int DisplayOrder { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Shipping.Providers.Fields.IsActive")]
    public bool IsActive { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Shipping.Providers.Fields.Logo")]
    public string LogoUrl { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Shipping.Providers.Configure")]
    public string ConfigurationUrl { get; set; }

    #endregion
}