Class SupportTicketEntity
A support ticket: something a player asked staff to deal with.
public class SupportTicketEntity
- Inheritance
-
SupportTicketEntity
- Inherited Members
Remarks
Filed from in-game and worked from the Control Panel. The player can follow it and reply; staff can reply, take notes the player never sees, and act.
No foreign keys on any of the account or character names here. The same reasoning as the audit log: a ticket describes something that happened, and deleting an account must not erase the report somebody filed about it — which is exactly the account most likely to be deleted. The names are copied in, and the character id is kept beside the name so the panel can still link to a character that has since been renamed.
Properties
AssignedTo
The staff account working it, or null if nobody has taken it.
public string AssignedTo { get; set; }
Property Value
Body
What the player wrote when they filed it.
public string Body { get; set; }
Property Value
Category
What it is about.
public SupportTicketCategory Category { get; set; }
Property Value
ClosedBy
The staff account that finished it.
public string ClosedBy { get; set; }
Property Value
ClosedUtc
When it was resolved or closed.
public DateTime? ClosedUtc { get; set; }
Property Value
CreatedUtc
When it was filed.
public DateTime CreatedUtc { get; set; }
Property Value
EscalatedBy
The staff account that last moved the ticket to another tier.
public string EscalatedBy { get; set; }
Property Value
EscalatedUtc
When the ticket last moved to another tier.
public DateTime? EscalatedUtc { get; set; }
Property Value
ID
Surrogate key, and the reference a player quotes.
public long ID { get; set; }
Property Value
LastActivityUtc
When anything last happened on it: a reply, a note, a status change.
public DateTime LastActivityUtc { get; set; }
Property Value
Remarks
Denormalised so the queue can sort by it without joining the messages. A queue that cannot cheaply answer "what has been waiting longest" is a queue nobody works from.
Messages
The conversation, oldest first.
public ICollection<SupportTicketMessageEntity> Messages { get; set; }
Property Value
Priority
Staff-set priority, higher is more urgent.
public int Priority { get; set; }
Property Value
Remarks
Set by staff, never by the player. A reporter-set priority is a field where every ticket is urgent.
ReporterAccount
The account that filed it.
public string ReporterAccount { get; set; }
Property Value
ReporterCharacterID
That character's id, so a later rename does not break the link.
public long ReporterCharacterID { get; set; }
Property Value
ReporterCharacterName
The character they were playing, if any.
public string ReporterCharacterName { get; set; }
Property Value
RequiredAccessLevel
The lowest access level that may see and work this ticket: its support tier.
public byte RequiredAccessLevel { get; set; }
Property Value
Remarks
Tiers are access levels, not a parallel ladder: GameMaster (2) is the first tier
and Admin (3) the second. A separate tier number would be one more thing for an
operator to keep in step with the access level that actually decides what they can do,
and a ticket escalated to "tier 2" that a tier-2 game master can still act on is a
promotion that promotes nothing.
Stored as the byte value of AccessLevel, like accounts.access_level.
Resolution
What staff decided, written when it is resolved or closed.
public string Resolution { get; set; }
Property Value
SceneName
Where it happened, for context and for searching the chat log around it.
public string SceneName { get; set; }
Property Value
Status
Where it has got to.
public SupportTicketStatus Status { get; set; }
Property Value
Subject
One-line summary, shown in the queue.
public string Subject { get; set; }
Property Value
TargetAccount
The accused account, for a player report.
public string TargetAccount { get; set; }
Property Value
TargetCharacterID
The accused character's id.
public long TargetCharacterID { get; set; }
Property Value
TargetCharacterName
The accused character, for a player report.
public string TargetCharacterName { get; set; }
Property Value
Version
Concurrency token. Two staff working one ticket is the normal case.
public uint Version { get; set; }