38 lines
574 B
C#
38 lines
574 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 DefaultTitle
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
[StringLength(100)]
|
|
public string Title
|
|
{
|
|
get; set;
|
|
} = string.Empty;
|
|
|
|
public string Region
|
|
{
|
|
get; set;
|
|
} = string.Empty;
|
|
|
|
public string ConnectionString
|
|
{
|
|
get; set;
|
|
} = string.Empty;
|
|
}
|