//-----------------------------------------------------------------------
//
// Copyright (c) aliasvault. All rights reserved.
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
//
//-----------------------------------------------------------------------
namespace AliasServerDb;
using System;
using System.ComponentModel.DataAnnotations;
///
/// Represents a server setting in the AliasServerDb.
///
public class ServerSetting
{
///
/// Gets or sets the key of the server setting.
///
[Key]
[MaxLength(255)]
public string Key { get; set; } = string.Empty;
///
/// Gets or sets the value of the server setting.
///
public string? Value { get; set; }
///
/// Gets or sets the creation date of the server setting.
///
public DateTime CreatedAt { get; set; }
///
/// Gets or sets the update date of the server setting.
///
public DateTime UpdatedAt { get; set; }
}