//-----------------------------------------------------------------------
//
// Copyright (c) aliasvault. All rights reserved.
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
//
//-----------------------------------------------------------------------
namespace AliasClientDb;
using System.ComponentModel.DataAnnotations;
using AliasClientDb.Abstracts;
///
/// The service entity.
///
public class Setting : SyncableEntity
{
///
/// Gets or sets the setting key which is also the primary unique key.
///
[Key]
[StringLength(255)]
public string Key { get; set; } = null!;
///
/// Gets or sets the setting value. The field type is a string, but it can be used to store any type of data
/// via serialization.
///
public string? Value { get; set; }
}