From 5277896bdc4ad9314ea39fddcf1ed833d24e56fe Mon Sep 17 00:00:00 2001 From: Sergio Matias Date: Tue, 26 Aug 2025 14:10:29 -0600 Subject: [PATCH] Add tenant identifier in user property --- Core.Thalos.BuildingBlocks/Adapters/UserAdapter.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Core.Thalos.BuildingBlocks/Adapters/UserAdapter.cs b/Core.Thalos.BuildingBlocks/Adapters/UserAdapter.cs index 684bdc8..e8eea66 100644 --- a/Core.Thalos.BuildingBlocks/Adapters/UserAdapter.cs +++ b/Core.Thalos.BuildingBlocks/Adapters/UserAdapter.cs @@ -96,5 +96,13 @@ namespace Core.Thalos.BuildingBlocks [BsonRepresentation(BsonType.String)] [JsonPropertyName("token")] public string? Token { get; set; } = null; + + /// + /// Gets or sets the tenant identifier associated with the user. + /// + [BsonElement("tenantId")] + [BsonRepresentation(BsonType.ObjectId)] + [JsonPropertyName("tenantId")] + public string? TenantId { get; set; } = null; } }