New server models
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user