15 lines
473 B
V
15 lines
473 B
V
module ticket
|
|
|
|
import base
|
|
import freeflowuniverse.herolib.data.ourtime
|
|
|
|
// TicketComment represents a comment on a support ticket
|
|
pub struct TicketComment {
|
|
base.Base // Provides id u32, creation_time, mod_time, comments []u32
|
|
pub mut:
|
|
ticket_id u32 // Reference to Ticket.id
|
|
user_id u32 // Reference to User.id (author of the comment)
|
|
content string
|
|
is_support_response bool // True if the comment is from a support agent
|
|
}
|