18 lines
430 B
C#
18 lines
430 B
C#
|
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,
|
||
|
}
|
||
|
}
|