🗃️ Bring account id back to chat room

This commit is contained in:
2025-11-30 19:59:30 +08:00
parent f9b4dd45d7
commit 40b8ea8eb8
3 changed files with 12 additions and 4 deletions

View File

@@ -25,6 +25,8 @@ public class SnChatRoom : ModelBase, IIdentifiedResource
[JsonIgnore] public ICollection<SnChatMember> Members { get; set; } = new List<SnChatMember>();
public Guid? AccountId { get; set; }
[NotMapped] public SnAccount? Account { get; set; }
public Guid? RealmId { get; set; }
[NotMapped] public SnRealm? Realm { get; set; }