Add tenant identifier in user property
This commit is contained in:
		| @@ -96,5 +96,13 @@ namespace Core.Thalos.BuildingBlocks | |||||||
|         [BsonRepresentation(BsonType.String)] |         [BsonRepresentation(BsonType.String)] | ||||||
|         [JsonPropertyName("token")] |         [JsonPropertyName("token")] | ||||||
|         public string? Token { get; set; } = null; |         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; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user