mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
* Allow disabling notifications per user and disabling specific notifications per use closes #1974 * Add disable notifs for all users * fix term generator for notifications * sow checkboxes instead of multiselect when js is enabled * remove js dependency * fix notif conditions
34 lines
846 B
C#
34 lines
846 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Microsoft.AspNetCore.Identity;
|
|
|
|
namespace BTCPayServer.Data
|
|
{
|
|
// Add profile data for application users by adding properties to the ApplicationUser class
|
|
public class ApplicationUser : IdentityUser
|
|
{
|
|
public List<NotificationData> Notifications { get; set; }
|
|
public List<UserStore> UserStores
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public bool RequiresEmailConfirmation
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public List<StoredFile> StoredFiles
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public List<U2FDevice> U2FDevices { get; set; }
|
|
public List<APIKeyData> APIKeys { get; set; }
|
|
public DateTimeOffset? Created { get; set; }
|
|
public string DisabledNotifications { get; set; }
|
|
}
|
|
}
|