Foxchat.NET/Foxchat.Chat/Database/Models/IdentityInstance.cs

18 lines
430 B
C#
Raw Normal View History

namespace Foxchat.Chat.Database.Models;
public class IdentityInstance : BaseModel
{
public string Domain { get; init; } = null!;
public string BaseUrl { get; init; } = null!;
public string PublicKey { get; init; } = null!;
public InstanceStatus Status { get; set; } = InstanceStatus.Active;
public string? Reason { get; set; }
public enum InstanceStatus
{
Active,
Suspended,
}
}