mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
made a start !wip
This commit is contained in:
parent
4b7e4adb23
commit
bcb193f321
3 changed files with 49 additions and 2 deletions
20
src/Ombi.Store/Entities/UserNotificationPreferences.cs
Normal file
20
src/Ombi.Store/Entities/UserNotificationPreferences.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Text;
|
||||
using Ombi.Helpers;
|
||||
|
||||
namespace Ombi.Store.Entities
|
||||
{
|
||||
[Table(nameof(UserNotificationPreferences))]
|
||||
public class UserNotificationPreferences : Entity
|
||||
{
|
||||
public string UserId { get; set; }
|
||||
public NotificationAgent Agent { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
public string Value { get; set; }
|
||||
|
||||
[ForeignKey(nameof(UserId))]
|
||||
public OmbiUser User { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue