Skip to content

Commit

Permalink
Implement IHasCreationTimestamp.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTedder committed Sep 6, 2024
1 parent d9dfcf7 commit b48b74f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion LeaderboardBackend/Models/Entities/AccountConfirmation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace LeaderboardBackend.Models.Entities;
/// <summary>
/// Represents a user account confirmation.
/// </summary>
public class AccountConfirmation
public class AccountConfirmation : IHasCreationTimestamp
{
/// <summary>
/// The unique identifier of the `AccountConfirmation`.<br/>
Expand Down
2 changes: 1 addition & 1 deletion LeaderboardBackend/Models/Entities/AccountRecovery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace LeaderboardBackend.Models.Entities;
/// <summary>
/// Represents an account recovery attempt for a `User`.
/// </summary>
public class AccountRecovery
public class AccountRecovery : IHasCreationTimestamp
{
/// <summary>
/// The unique identifier of the `AccountRecovery`.<br/>
Expand Down
2 changes: 1 addition & 1 deletion LeaderboardBackend/Models/Entities/Category.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public enum SortDirection
/// Represents a `Category` tied to a `Leaderboard`.
/// </summary>
[Index(nameof(Slug), IsUnique = true)]
public class Category
public class Category : IHasCreationTimestamp
{
/// <summary>
/// The unique identifier of the `Category`.<br/>
Expand Down
2 changes: 1 addition & 1 deletion LeaderboardBackend/Models/Entities/Leaderboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace LeaderboardBackend.Models.Entities;
/// <summary>
/// Represents a collection of `Category` entities.
/// </summary>
public class Leaderboard
public class Leaderboard : IHasCreationTimestamp
{
/// <summary>
/// The unique identifier of the `Leaderboard`.<br/>
Expand Down
2 changes: 1 addition & 1 deletion LeaderboardBackend/Models/Entities/Run.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace LeaderboardBackend.Models.Entities;
/// <summary>
/// Represents an entry on a `Category`.
/// </summary>
public class Run
public class Run : IHasCreationTimestamp
{
/// <summary>
/// The unique identifier of the `Run`.<br/>
Expand Down
2 changes: 1 addition & 1 deletion LeaderboardBackend/Models/Entities/User.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public enum UserRole
/// <summary>
/// Represents a user account registered on the website.
/// </summary>
public class User
public class User : IHasCreationTimestamp
{
/// <summary>
/// The unique identifier of the `User`.<br/>
Expand Down

0 comments on commit b48b74f

Please sign in to comment.