Files
2026-09-22 15:23:39 +03:00

53 lines
773 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;
public bool IsDeleted
{
get; set;
} = false;
public bool IsDisabled
{
get; set;
} = false;
public List<string> Tags
{
get; set;
} = [];
}