Added moonlight resources. Optimised moonlight legacy html rendering

This commit is contained in:
Marcel Baumgartner
2023-02-15 21:25:51 +01:00
parent 8c67273d40
commit 764ff894af
117 changed files with 82725 additions and 1207 deletions

View File

@@ -0,0 +1,23 @@
namespace Moonlight.App.Database.Entities;
public class Server
{
public int Id { get; set; }
public Guid Uuid { get; set; }
public string Name { get; set; } = "";
public int Cpu { get; set; }
public long Memory { get; set; }
public long Disk { get; set; }
public Image Image { get; set; } = null!;
public int DockerImageIndex { get; set; } = 0;
public string OverrideStartup { get; set; } = "";
public bool Installing { get; set; } = false;
public bool Suspended { get; set; } = false;
public List<ServerVariable> Variables { get; set; } = new();
public List<ServerBackup> Backups { get; set; } = new();
public List<NodeAllocation> Allocations { get; set; } = new();
public NodeAllocation MainAllocation { get; set; } = null!;
public Node Node { get; set; } = null!;
public User Owner { get; set; } = null!;
}