Remove unnecessary properties from user adapter
This commit is contained in:
@@ -72,28 +72,6 @@ namespace Core.Thalos.BuildingBlocks
|
||||
[JsonPropertyName("roleId")]
|
||||
public string RoleId { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the array of companies associated with the user.
|
||||
/// </summary>
|
||||
[BsonElement("companies")]
|
||||
[JsonPropertyName("companies")]
|
||||
public string[] Companies { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the array of projects associated with the user.
|
||||
/// </summary>
|
||||
[BsonElement("projects")]
|
||||
[JsonPropertyName("projects")]
|
||||
public string[]? Projects { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the boolean of the consent form accepted by the user.
|
||||
/// </summary>
|
||||
[BsonElement("consentFormAccepted")]
|
||||
[JsonPropertyName("consentFormAccepted")]
|
||||
[BsonIgnoreIfNull]
|
||||
public bool ConsentFormAccepted { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the timestamp of the last login of the user.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user