parent
93b6009d31
commit
8bcb8127bf
12 changed files with 411 additions and 1 deletions
17
Models/MyhmConfiguration.cs
Normal file
17
Models/MyhmConfiguration.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
namespace Myhm.Models
|
||||
{
|
||||
public class MyhmConfiguration
|
||||
{
|
||||
public required string GlobalToken { get; init; }
|
||||
public required string DatabaseConnectionString { get; init; }
|
||||
public required DatabaseTypes DatabaseType { get; init; }
|
||||
public bool UseSentry { get; init; } = true;
|
||||
public bool UseSwagger { get; init; } = true;
|
||||
public bool LogRequests { get; init; } = true;
|
||||
}
|
||||
|
||||
public enum DatabaseTypes
|
||||
{
|
||||
PostgresSQL,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue