Skip to content

Commit

Permalink
Expose Infraction and InfractionType models
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Mar 11, 2022
1 parent fd6e3a6 commit 5599ced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Hammer/Data/Infraction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Hammer.Data;
/// Represents an infraction.
/// </summary>
[Table("Infractions")]
internal record Infraction
public record Infraction
{
/// <summary>
/// Gets or sets the ID of the infraction.
Expand Down
2 changes: 1 addition & 1 deletion Hammer/Data/InfractionType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// <summary>
/// An enumeration of infraction types.
/// </summary>
internal enum InfractionType
public enum InfractionType
{
/// <summary>
/// Specifies that the infraction is a warning.
Expand Down

0 comments on commit 5599ced

Please sign in to comment.