props/Props/Models/User/ApplicationPreferences.cs

15 lines
361 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
namespace Props.Shared.Models.User
{
public class ApplicationPreferences
{
public int Id { get; set; }
[Required]
public string ApplicationUserId { get; set; }
public bool EnableSearchHistory { get; set; } = true;
public bool DarkMode { get; set; } = false;
}
}