Implemented db entities. Adjusted template default values
This commit is contained in:
21
MoonlightServers.ApiServer/Database/Entities/StarVariable.cs
Normal file
21
MoonlightServers.ApiServer/Database/Entities/StarVariable.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using MoonlightServers.Shared.Enums;
|
||||
|
||||
namespace MoonlightServers.ApiServer.Database.Entities;
|
||||
|
||||
public class StarVariable
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public Star Star { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
|
||||
public string Key { get; set; }
|
||||
public string DefaultValue { get; set; }
|
||||
|
||||
public bool AllowViewing { get; set; }
|
||||
public bool AllowEditing { get; set; }
|
||||
|
||||
public StarVariableType Type { get; set; }
|
||||
public string? Filter { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user