summary refs log tree commit diff
path: root/extra/admin-api/Spacebar.Db/Models/Config.cs
blob: 1b7c50ef10eb74057639da49d6462bdd8f4dba04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace Spacebar.Db.Models;

[Table("config")]
public partial class Config
{
    [Key]
    [Column("key", TypeName = "character varying")]
    public string Key { get; set; } = null!;

    [Column("value")]
    public string? Value { get; set; }
}