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,12 @@
namespace MoonlightServers.ApiServer.Database.Entities;
public class Allocation
{
public int Id { get; set; }
public string IpAddress { get; set; } = "0.0.0.0";
public int Port { get; set; }
public Server? Server { get; set; }
public Node Node { get; set; }
}