Files
Radicade/Server/Config/ServerConfigVal.cs
T
2026-10-16 23:33:13 -07:00

17 lines
471 B
C#

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace RadicadeServer.RecNet.Config
{
public class ServerConfigVal
{
public ServerConfigVal() { }
public ServerConfigVal(string key, string val) { Key = key; Value = val; }
[Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
public string Key { get; set; } = null!;
public string Value { get; set; } = null!;
}
}