New server models

This commit is contained in:
2026-08-24 14:11:12 +03:00 Unverified
parent fb8427bd0e
commit 71b163e268
7 changed files with 112 additions and 18 deletions
+8 -3
View File
@@ -5,7 +5,7 @@ using System.Text;
namespace WinWARP.Core.Models.Entities;
public class Server
public abstract class Server
{
[Key]
public int Id
@@ -13,10 +13,15 @@ public class Server
get; set;
}
public int SubscriptionId
[Required]
public string Name
{
get; set;
}
[StringLength(100)]
public string CustomName
{
get; set;
} = string.Empty;
}