Skip to content

Commit

Permalink
Merge pull request #166 from SakuraIsayeki/feature/cs-integration
Browse files Browse the repository at this point in the history
Add Customer Support Ticket ID field to Posts
  • Loading branch information
SakuraIsayeki authored Sep 1, 2024
2 parents 1dc88fb + b84c484 commit e769d79
Show file tree
Hide file tree
Showing 17 changed files with 936 additions and 80 deletions.
12 changes: 12 additions & 0 deletions WowsKarma.Api/Data/Models/Post.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,18 @@ public sealed record Post : ITimestamped, IDisposable
/// </summary>
public bool ModLocked { get; set; }

/// <summary>
/// The Customer Support ticket ID associated with this post.
/// </summary>
/// <remarks>
/// This is used by WG staff to track and manage player reports.
/// </remarks>
/// <value>
/// Set as <see langword="null"/> if no ticket is associated.
/// When present, takes form as a positive integer, up to 9 digits.
/// </value>
[Range(1, 999_999_999)]
public int? CustomerSupportTicketId { get; set; }

/// <inheritdoc />
public void Dispose()
Expand Down
Loading

0 comments on commit e769d79

Please sign in to comment.