diff --git a/docs/Linker.drawio b/docs/Linker.drawio index 42d62e3..60b676d 100644 --- a/docs/Linker.drawio +++ b/docs/Linker.drawio @@ -1,4 +1,4 @@ - + @@ -435,7 +435,7 @@ - + @@ -520,6 +520,14 @@ + + + + + + + + @@ -775,6 +783,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -783,127 +815,127 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/src/Linker.Core.V2/Models/ProfileSettings.cs b/src/Linker.Core.V2/Models/ProfileSettings.cs new file mode 100644 index 0000000..5edbbe3 --- /dev/null +++ b/src/Linker.Core.V2/Models/ProfileSettings.cs @@ -0,0 +1,44 @@ +namespace Linker.Core.V2.Models; + +using System; + +/// +/// The settings for a user. +/// +public class ProfileSettings +{ + /// + /// Gets or sets the Id of the setting. + /// + public string Id { get; set; } + + /// + /// Gets or sets the theme preferred by the user. + /// + public string Theme { get; set; } + + /// + /// Gets or sets a value indicating whether the user has accepted the telemetry. + /// + public bool AcceptedTelemetry { get; set; } + + /// + /// Gets or sets a value indicating whether the user has accepted the terms and conditions. + /// + public bool AcceptedTerms { get; set; } + + /// + /// Gets or sets the browsing level preferred by the user. + /// + public Rating BrowsingLevel { get; set; } + + /// + /// Gets or sets the creation date. + /// + public DateTime CreatedAt { get; set; } + + /// + /// Gets or sets the last updated date. + /// + public DateTime ModifiedAt { get; set; } +}