From d4734ae9e7443356e971b9824a81860b7b139823 Mon Sep 17 00:00:00 2001 From: Aaron Po Date: Sat, 20 Jun 2026 15:13:57 -0400 Subject: [PATCH] Format ./web/backend/Domain/Domain.Entities --- .../Domain.Entities/Entities/BreweryPost.cs | 2 +- .../Entities/BreweryPostLocation.cs | 72 +++++++++--------- .../Domain.Entities/Entities/UserAccount.cs | 76 +++++++++---------- .../Entities/UserCredential.cs | 52 ++++++------- .../Entities/UserVerification.cs | 38 +++++----- 5 files changed, 120 insertions(+), 120 deletions(-) diff --git a/web/backend/Domain/Domain.Entities/Entities/BreweryPost.cs b/web/backend/Domain/Domain.Entities/Entities/BreweryPost.cs index 0594a9b..9bac7e6 100644 --- a/web/backend/Domain/Domain.Entities/Entities/BreweryPost.cs +++ b/web/backend/Domain/Domain.Entities/Entities/BreweryPost.cs @@ -47,4 +47,4 @@ public class BreweryPost /// navigation property. /// public BreweryPostLocation? Location { get; set; } -} \ No newline at end of file +} diff --git a/web/backend/Domain/Domain.Entities/Entities/BreweryPostLocation.cs b/web/backend/Domain/Domain.Entities/Entities/BreweryPostLocation.cs index c59917d..8de9e6a 100644 --- a/web/backend/Domain/Domain.Entities/Entities/BreweryPostLocation.cs +++ b/web/backend/Domain/Domain.Entities/Entities/BreweryPostLocation.cs @@ -7,46 +7,46 @@ namespace Domain.Entities; /// public class BreweryPostLocation { - /// - /// Primary key identifying this location. Maps to BreweryPostLocationID. - /// - public Guid BreweryPostLocationId { get; set; } + /// + /// Primary key identifying this location. Maps to BreweryPostLocationID. + /// + public Guid BreweryPostLocationId { get; set; } - /// - /// Foreign key referencing the owning . Maps to BreweryPostID; unique, enforcing a - /// one-to-one relationship. - /// - public Guid BreweryPostId { get; set; } + /// + /// Foreign key referencing the owning . Maps to BreweryPostID; unique, enforcing a + /// one-to-one relationship. + /// + public Guid BreweryPostId { get; set; } - /// - /// The primary street address line. - /// - public string AddressLine1 { get; set; } = string.Empty; + /// + /// The primary street address line. + /// + public string AddressLine1 { get; set; } = string.Empty; - /// - /// An optional secondary address line (e.g., suite or unit number). - /// - public string? AddressLine2 { get; set; } + /// + /// An optional secondary address line (e.g., suite or unit number). + /// + public string? AddressLine2 { get; set; } - /// - /// The postal/ZIP code of the location. - /// - public string PostalCode { get; set; } = string.Empty; + /// + /// The postal/ZIP code of the location. + /// + public string PostalCode { get; set; } = string.Empty; - /// - /// Foreign key referencing the city in which the brewery is located. Maps to CityID. - /// - public Guid CityId { get; set; } + /// + /// Foreign key referencing the city in which the brewery is located. Maps to CityID. + /// + public Guid CityId { get; set; } - /// - /// Serialized SQL Server GEOGRAPHY value representing the geographic coordinates of the location, or - /// null if not set. - /// - public byte[]? Coordinates { get; set; } + /// + /// Serialized SQL Server GEOGRAPHY value representing the geographic coordinates of the location, or + /// null if not set. + /// + public byte[]? Coordinates { get; set; } - /// - /// SQL Server ROWVERSION concurrency token used to detect concurrent updates. null until the row has - /// been read from the database. - /// - public byte[]? Timer { get; set; } -} \ No newline at end of file + /// + /// SQL Server ROWVERSION concurrency token used to detect concurrent updates. null until the row has + /// been read from the database. + /// + public byte[]? Timer { get; set; } +} diff --git a/web/backend/Domain/Domain.Entities/Entities/UserAccount.cs b/web/backend/Domain/Domain.Entities/Entities/UserAccount.cs index acc5090..6a53e26 100644 --- a/web/backend/Domain/Domain.Entities/Entities/UserAccount.cs +++ b/web/backend/Domain/Domain.Entities/Entities/UserAccount.cs @@ -7,49 +7,49 @@ namespace Domain.Entities; /// public class UserAccount { - /// - /// Primary key identifying this user account. Maps to UserAccountID. - /// - public Guid UserAccountId { get; set; } + /// + /// Primary key identifying this user account. Maps to UserAccountID. + /// + public Guid UserAccountId { get; set; } - /// - /// The user's unique username, used for login and display. Enforced unique at the database level. - /// - public string Username { get; set; } = string.Empty; + /// + /// The user's unique username, used for login and display. Enforced unique at the database level. + /// + public string Username { get; set; } = string.Empty; - /// - /// The user's first name. - /// - public string FirstName { get; set; } = string.Empty; + /// + /// The user's first name. + /// + public string FirstName { get; set; } = string.Empty; - /// - /// The user's last name. - /// - public string LastName { get; set; } = string.Empty; + /// + /// The user's last name. + /// + public string LastName { get; set; } = string.Empty; - /// - /// The user's email address. Enforced unique at the database level. - /// - public string Email { get; set; } = string.Empty; + /// + /// The user's email address. Enforced unique at the database level. + /// + public string Email { get; set; } = string.Empty; - /// - /// The date and time the account was created. - /// - public DateTime CreatedAt { get; set; } + /// + /// The date and time the account was created. + /// + public DateTime CreatedAt { get; set; } - /// - /// The date and time the account was last updated, or null if it has never been updated. - /// - public DateTime? UpdatedAt { get; set; } + /// + /// The date and time the account was last updated, or null if it has never been updated. + /// + public DateTime? UpdatedAt { get; set; } - /// - /// The user's date of birth. - /// - public DateTime DateOfBirth { get; set; } + /// + /// The user's date of birth. + /// + public DateTime DateOfBirth { get; set; } - /// - /// SQL Server ROWVERSION concurrency token used to detect concurrent updates. null until the row has - /// been read from the database. - /// - public byte[]? Timer { get; set; } -} \ No newline at end of file + /// + /// SQL Server ROWVERSION concurrency token used to detect concurrent updates. null until the row has + /// been read from the database. + /// + public byte[]? Timer { get; set; } +} diff --git a/web/backend/Domain/Domain.Entities/Entities/UserCredential.cs b/web/backend/Domain/Domain.Entities/Entities/UserCredential.cs index 4be575e..4f1bf69 100644 --- a/web/backend/Domain/Domain.Entities/Entities/UserCredential.cs +++ b/web/backend/Domain/Domain.Entities/Entities/UserCredential.cs @@ -7,34 +7,34 @@ namespace Domain.Entities; /// public class UserCredential { - /// - /// Primary key identifying this credential. Maps to UserCredentialID. - /// - public Guid UserCredentialId { get; set; } + /// + /// Primary key identifying this credential. Maps to UserCredentialID. + /// + public Guid UserCredentialId { get; set; } - /// - /// Foreign key referencing the owning . Maps to UserAccountID. - /// - public Guid UserAccountId { get; set; } + /// + /// Foreign key referencing the owning . Maps to UserAccountID. + /// + public Guid UserAccountId { get; set; } - /// - /// The date and time the credential was issued. - /// - public DateTime CreatedAt { get; set; } + /// + /// The date and time the credential was issued. + /// + public DateTime CreatedAt { get; set; } - /// - /// The date and time after which the credential is no longer valid. - /// - public DateTime Expiry { get; set; } + /// + /// The date and time after which the credential is no longer valid. + /// + public DateTime Expiry { get; set; } - /// - /// The Argon2 hash of the credential's secret value. The plaintext secret is never persisted. - /// - public string Hash { get; set; } = string.Empty; + /// + /// The Argon2 hash of the credential's secret value. The plaintext secret is never persisted. + /// + public string Hash { get; set; } = string.Empty; - /// - /// SQL Server ROWVERSION concurrency token used to detect concurrent updates. null until the row has - /// been read from the database. - /// - public byte[]? Timer { get; set; } -} \ No newline at end of file + /// + /// SQL Server ROWVERSION concurrency token used to detect concurrent updates. null until the row has + /// been read from the database. + /// + public byte[]? Timer { get; set; } +} diff --git a/web/backend/Domain/Domain.Entities/Entities/UserVerification.cs b/web/backend/Domain/Domain.Entities/Entities/UserVerification.cs index abd5e0e..b091b07 100644 --- a/web/backend/Domain/Domain.Entities/Entities/UserVerification.cs +++ b/web/backend/Domain/Domain.Entities/Entities/UserVerification.cs @@ -7,25 +7,25 @@ namespace Domain.Entities; /// public class UserVerification { - /// - /// Primary key identifying this verification record. Maps to UserVerificationID. - /// - public Guid UserVerificationId { get; set; } + /// + /// Primary key identifying this verification record. Maps to UserVerificationID. + /// + public Guid UserVerificationId { get; set; } - /// - /// Foreign key referencing the verified . Maps to UserAccountID; unique, enforcing a - /// one-to-one relationship. - /// - public Guid UserAccountId { get; set; } + /// + /// Foreign key referencing the verified . Maps to UserAccountID; unique, enforcing a + /// one-to-one relationship. + /// + public Guid UserAccountId { get; set; } - /// - /// The date and time at which the user account was verified. - /// - public DateTime VerificationDateTime { get; set; } + /// + /// The date and time at which the user account was verified. + /// + public DateTime VerificationDateTime { get; set; } - /// - /// SQL Server ROWVERSION concurrency token used to detect concurrent updates. null until the row has - /// been read from the database. - /// - public byte[]? Timer { get; set; } -} \ No newline at end of file + /// + /// SQL Server ROWVERSION concurrency token used to detect concurrent updates. null until the row has + /// been read from the database. + /// + public byte[]? Timer { get; set; } +}