Class TicketMessage
java.lang.Object
de.bytestore.hostinger.entity.support.TicketMessage
Represents a message related to a ticket in the system.
This class is an entity managed by JPA and integrated with the Jmix framework.
It is mapped to the "HOST_TICKET_MESSAGE" database table and defines indexes for optimized lookups.
Fields:
- id: Unique identifier for the ticket message.
- content: The textual content of the ticket message.
- ticket: The ticket that this message is associated with, referring to the
Ticket entity.
- createdBy: The user who created this message.
- user: The user referenced in the message, referring to the User entity.
- type: The type of the message, represented as an integer mapped to TicketType.
- createdDate: The timestamp indicating when the message was created.
- lastModifiedBy: The username of the actor who last modified the message.
- lastModifiedDate: The timestamp indicating the last modification of the message.
Methods:
- getType: Returns the type of the ticket message as an instance of TicketType.
- setType: Sets the type of the ticket message using an instance of TicketType.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TicketMessage
public TicketMessage()
-
-
Method Details
-
getType
-
setType
-