From db10d185daeaf0ac637263b11044f23d6cfa552e Mon Sep 17 00:00:00 2001 From: Sergio Matias Date: Fri, 25 Jul 2025 23:53:00 -0600 Subject: [PATCH] Remove unnecessary properties from user adapter --- .../Adapters/UserAdapter.cs | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/Core.Thalos.BuildingBlocks/Adapters/UserAdapter.cs b/Core.Thalos.BuildingBlocks/Adapters/UserAdapter.cs index 4c033bf..684bdc8 100644 --- a/Core.Thalos.BuildingBlocks/Adapters/UserAdapter.cs +++ b/Core.Thalos.BuildingBlocks/Adapters/UserAdapter.cs @@ -72,28 +72,6 @@ namespace Core.Thalos.BuildingBlocks [JsonPropertyName("roleId")] public string RoleId { get; set; } = null!; - /// - /// Gets or sets the array of companies associated with the user. - /// - [BsonElement("companies")] - [JsonPropertyName("companies")] - public string[] Companies { get; set; } = null!; - - /// - /// Gets or sets the array of projects associated with the user. - /// - [BsonElement("projects")] - [JsonPropertyName("projects")] - public string[]? Projects { get; set; } - - /// - /// Gets or sets the boolean of the consent form accepted by the user. - /// - [BsonElement("consentFormAccepted")] - [JsonPropertyName("consentFormAccepted")] - [BsonIgnoreIfNull] - public bool ConsentFormAccepted { get; set; } - /// /// Gets or sets the timestamp of the last login of the user. ///