28 lines
417 B
C#
28 lines
417 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text;
|
|
|
|
namespace WinWARP.Core.Models.Entities;
|
|
|
|
public abstract class Server
|
|
{
|
|
[Key]
|
|
public int Id
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
[Required]
|
|
public string Name
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
[StringLength(100)]
|
|
public string CustomName
|
|
{
|
|
get; set;
|
|
} = string.Empty;
|
|
}
|