Implemented template crud, db entities, import/export, ptero and pelican import
This commit is contained in:
20
MoonlightServers.Shared/Admin/Templates/FilesConfigDto.cs
Normal file
20
MoonlightServers.Shared/Admin/Templates/FilesConfigDto.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace MoonlightServers.Shared.Admin.Templates;
|
||||
|
||||
public class FilesConfigDto
|
||||
{
|
||||
public List<ConfigurationFileDto> ConfigurationFiles { get; set; } = new();
|
||||
}
|
||||
|
||||
public class ConfigurationFileDto
|
||||
{
|
||||
public string Path { get; set; }
|
||||
public string Parser { get; set; }
|
||||
|
||||
public List<ConfigurationFileMappingDto> Mappings { get; set; } = new();
|
||||
}
|
||||
|
||||
public class ConfigurationFileMappingDto
|
||||
{
|
||||
public string Key { get; set; }
|
||||
public string? Value { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user