namespace GsConfigTool.Models;
public class ServerProject
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public GameType Game { get; set; }
public string ConfigJson { get; set; } = "{}";
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
public string GameDisplayName => Game switch
{
GameType.ArkSurvivalEvolved => "ARK: Survival Evolved",
GameType.ArkSurvivalAscended => "ARK: Survival Ascended",
GameType.Palworld => "Palworld",
_ => "Unknown"
};
public string GameShortName => Game switch
{
GameType.ArkSurvivalEvolved => "ASE",
GameType.ArkSurvivalAscended => "ASA",
GameType.Palworld => "PW",
_ => "?"
};
}