Class SupportTicketMessageEntity
One message on a support ticket: a reply, or a note only staff can see.
public class SupportTicketMessageEntity
- Inheritance
-
SupportTicketMessageEntity
- Inherited Members
Remarks
Internal is the field this whole type exists for. Staff need somewhere to say "this is the third report this week, I am inclined to ban" without the reporter reading it, and without that they will say it somewhere the ticket cannot remember. Leaking an internal note is the classic failure of a support system, so the flag is a column enforced by the read projection on the server, never by whether a view remembered to hide it.
Properties
AuthorAccount
The account that wrote it.
public string AuthorAccount { get; set; }
Property Value
AuthorIsStaff
Whether the author was acting as staff.
public bool AuthorIsStaff { get; set; }
Property Value
Remarks
Recorded at write time rather than derived from the author's access level now, because a game master who is later demoted did not retroactively stop being staff when they wrote the reply.
Body
The text.
public string Body { get; set; }
Property Value
CreatedUtc
When it was written.
public DateTime CreatedUtc { get; set; }
Property Value
ID
Surrogate key.
public long ID { get; set; }
Property Value
Internal
Whether this is staff-only. The player never receives it.
public bool Internal { get; set; }
Property Value
Ticket
Navigation to the ticket.
public SupportTicketEntity Ticket { get; set; }
Property Value
TicketID
The ticket this belongs to.
public long TicketID { get; set; }