Added database entities, started with node crud

This commit is contained in:
Masu-Baumgartner
2024-08-30 15:25:34 +02:00
parent c4a4fbd221
commit fba40d6689
25 changed files with 1887 additions and 5 deletions

View File

@@ -0,0 +1,31 @@
namespace MoonlightServers.ApiServer.Database.Entities;
public class Star
{
public int Id { get; set; }
public string Name { get; set; }
public string Author { get; set; }
public string? DonationUrl { get; set; }
public string? UpdateUrl { get; set; }
public string StartupCommand { get; set; }
public string StopCommand { get; set; }
public string OnlineDetection { get; set; }
public string InstallShell { get; set; }
public string InstallDockerImage { get; set; }
public string InstallScript { get; set; }
public int RequiredAllocations { get; set; }
public string ParseConfiguration { get; set; }
public int DefaultDockerImageIndex { get; set; }
public bool AllowDockerImageChanging { get; set; }
public List<StarVariable> Variables { get; set; } = new();
public List<StarDockerImage> DockerImages { get; set; } = new();
public StarFolder? Folder { get; set; }
}