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.

1.4 KB
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;

namespace Grand.Web.AdminShared.Models.Settings;

public class PushNotificationsSettingsModel : BaseModel
{
    [GrandResourceDisplayName("Admin.Settings.PushNotifications.NotificationsEnabled")]
    public bool Enabled { get; set; }

    [GrandResourceDisplayName("Admin.Settings.PushNotifications.PrivateApiKey")]
    public string PrivateApiKey { get; set; }

    [GrandResourceDisplayName("Admin.Settings.PushNotifications.PushApiKey")]
    public string PushApiKey { get; set; }

    [GrandResourceDisplayName("Admin.Settings.PushNotifications.SenderId")]
    public string SenderId { get; set; }

    [GrandResourceDisplayName("Admin.Settings.PushNotifications.AuthDomain")]
    public string AuthDomain { get; set; }

    [GrandResourceDisplayName("Admin.Settings.PushNotifications.DatabaseUrl")]
    public string DatabaseUrl { get; set; }

    [GrandResourceDisplayName("Admin.Settings.PushNotifications.ProjectId")]
    public string ProjectId { get; set; }

    [GrandResourceDisplayName("Admin.Settings.PushNotifications.StorageBucket")]
    public string StorageBucket { get; set; }

    [GrandResourceDisplayName("Admin.Settings.PushNotifications.AppId")]
    public string AppId { get; set; }

    [GrandResourceDisplayName("Admin.Settings.PushNotifications.AllowGuestNotifications")]
    public bool AllowGuestNotifications { get; set; }
}