Add tenant identifier in user property

This commit is contained in:
Sergio Matias 2025-08-26 14:10:29 -06:00
parent 9a02f0e4d6
commit 5277896bdc

View File

@ -96,5 +96,13 @@ namespace Core.Thalos.BuildingBlocks
[BsonRepresentation(BsonType.String)]
[JsonPropertyName("token")]
public string? Token { get; set; } = null;
/// <summary>
/// Gets or sets the tenant identifier associated with the user.
/// </summary>
[BsonElement("tenantId")]
[BsonRepresentation(BsonType.ObjectId)]
[JsonPropertyName("tenantId")]
public string? TenantId { get; set; } = null;
}
}