init
This commit is contained in:
commit
f6629fbb33
32 changed files with 1608 additions and 0 deletions
19
Foxchat.Identity/Database/Models/ChatInstance.cs
Normal file
19
Foxchat.Identity/Database/Models/ChatInstance.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
namespace Foxchat.Identity.Database.Models;
|
||||
|
||||
public class ChatInstance
|
||||
{
|
||||
public Ulid Id { get; init; } = Ulid.NewUlid();
|
||||
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,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue