Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Customer Support Ticket ID field to Posts #166

Merged
merged 6 commits into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading