Skip to content

Commit

Permalink
Implement IHasUpdateTimestamp.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTedder committed Sep 6, 2024
1 parent 8e93e9d commit dd4ac5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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 : IHasCreationTimestamp
public class Category : IHasUpdateTimestamp
{
/// <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 : IHasCreationTimestamp
public class Leaderboard : IHasUpdateTimestamp
{
/// <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 : IHasCreationTimestamp
public class Run : IHasUpdateTimestamp
{
/// <summary>
/// The unique identifier of the `Run`.<br/>
Expand Down

0 comments on commit dd4ac5d

Please sign in to comment.