Foxchat.NET/Foxchat.Identity/Database/Models/ChatInstance.cs

19 lines
452 B
C#
Raw Normal View History

2024-05-11 15:26:47 +02:00
namespace Foxchat.Identity.Database.Models;
2024-05-19 17:20:45 +02:00
public class ChatInstance : BaseModel
2024-05-11 15:26:47 +02:00
{
public string Domain { get; init; } = null!;
public string BaseUrl { get; set; } = null!;
public string PublicKey { get; set; } = null!;
public InstanceStatus Status { get; set; }
public string? Reason { get; set; }
public List<Account> Accounts { get; } = [];
public enum InstanceStatus
{
Active,
Suspended,
}
}