31 lines
926 B
C#
31 lines
926 B
C#
namespace MoonlightServers.ApiServer.Database.Entities;
|
|
|
|
public class Star
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
// References
|
|
public List<StarVariable> Variables { get; set; } = new();
|
|
public List<StarDockerImage> DockerImages { get; set; } = new();
|
|
|
|
// Meta
|
|
public string Name { get; set; }
|
|
public string Author { get; set; }
|
|
public string? UpdateUrl { get; set; }
|
|
public string? DonateUrl { get; set; }
|
|
|
|
// Start and stop
|
|
public string StartupCommand { get; set; }
|
|
public string StopCommand { get; set; }
|
|
public string OnlineDetection { get; set; }
|
|
|
|
// Install
|
|
public string InstallShell { get; set; }
|
|
public string InstallDockerImage { get; set; }
|
|
public string InstallScript { get; set; }
|
|
|
|
// Misc
|
|
public int RequiredAllocations { get; set; }
|
|
public bool AllowDockerImageChange { get; set; }
|
|
public string ParseConfiguration { get; set; }
|
|
} |