move project

This commit is contained in:
2025-07-27 00:33:05 +02:00
parent 4544be2999
commit 5f8fb01a9f
100 changed files with 651 additions and 406 deletions

13
db/models/Setting.cs Normal file
View File

@@ -0,0 +1,13 @@
namespace Db.Models;
public class Setting
{
public required SettingName Name { get; set; }
public required string Value { get; set; }
// methods to convert Value to specific types that are not connected to entity framework
public T GetValue<T>()
{
return (T)Convert.ChangeType(Value, typeof(T));
}
}