Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶ added in v0.0.2
type CreateTicketDTO ¶
type CreateTicketDTO struct { UserID uint64 `json:"user_id"` CategoryID uint32 `json:"category_id"` Name string `json:"name"` Description string `json:"description"` Price float32 `json:"price"` Quantity uint32 `json:"quantity"` TagIDs []uint32 `json:"tag_ids,omitempty"` Attachments []string `json:"attachments,omitempty"` }
type RawRespondToTicketDTO ¶
type RespondToTicketDTO ¶
type Ticket ¶
type Ticket struct { ID uint64 `json:"id"` UserID uint64 `json:"user_id"` CategoryID uint32 `json:"category_id"` Name string `json:"name"` Description string `json:"description"` Price float32 `json:"price"` Quantity uint32 `json:"quantity"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` TagIDs []uint32 `json:"tag_ids,omitempty"` Attachments []Attachment `json:"attachments,omitempty"` }
Click to show internal directories.
Click to hide internal directories.