mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 07:29:00 -07:00
17 lines
453 B
C#
17 lines
453 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace RadicadeServer.RecNet.Config
|
|
{
|
|
public class ConfigVal
|
|
{
|
|
public ConfigVal() { }
|
|
public ConfigVal(string key, string val) { Key = key; Value = val; }
|
|
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public string Key { get; set; } = null!;
|
|
public string Value { get; set; } = null!;
|
|
}
|
|
}
|