2021-07-14 01:13:19 -05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2021-07-22 16:12:27 -05:00
|
|
|
using Props.Models.User;
|
2021-07-14 01:13:19 -05:00
|
|
|
|
2021-07-21 01:58:49 -05:00
|
|
|
namespace Props.Shared.Models.User
|
2021-07-12 03:07:16 -05:00
|
|
|
{
|
|
|
|
public class ApplicationPreferences
|
|
|
|
{
|
|
|
|
public int Id { get; set; }
|
2021-07-14 01:13:19 -05:00
|
|
|
|
|
|
|
[Required]
|
2021-07-12 03:07:16 -05:00
|
|
|
public string ApplicationUserId { get; set; }
|
|
|
|
|
2021-07-22 16:12:27 -05:00
|
|
|
[Required]
|
|
|
|
public virtual ApplicationUser ApplicationUser { get; set; }
|
|
|
|
|
2021-07-12 03:07:16 -05:00
|
|
|
public bool EnableSearchHistory { get; set; } = true;
|
2021-07-21 01:58:49 -05:00
|
|
|
public bool DarkMode { get; set; } = false;
|
2021-07-12 03:07:16 -05:00
|
|
|
}
|
|
|
|
}
|