made a start !wip

This commit is contained in:
TidusJar 2018-08-29 13:25:43 +01:00
commit bcb193f321
3 changed files with 49 additions and 2 deletions

View 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; }
}
}