Class ComplaintEntity

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.voc.complaint.ComplaintEntity
All Implemented Interfaces:
Serializable

@Entity public class ComplaintEntity extends BaseEntity
Complaint entity for collecting and managing user complaints Supports different types of complaints from various sources Database Table: bytedesk_voc_complaint Purpose: Stores complaints from customers, agents, workgroups and other sources
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • title

      private String title
      Complaint title/subject
    • type

      private String type
      Complaint type - SERVICE, PRODUCT, AGENT, etc.
    • content

      private String content
      Main complaint content
    • status

      private String status
      Complaint processing status
    • priority

      private String priority
      Priority level of the complaint
    • severity

      private Integer severity
      Complaint severity level (1-5)
    • imageUrl

      private String imageUrl
      Associated image URL
    • images

      private List<String> images
      List of image URLs
    • attachments

      private List<String> attachments
      List of attachment URLs
    • categoryUids

      private List<String> categoryUids
      Category UIDs for classification
    • tagList

      private List<String> tagList
      Tags for categorization and search
    • threadUid

      private String threadUid
      Associated thread UID if complaint is related to a conversation
    • messageUid

      private String messageUid
      Associated message UID if complaint is related to a specific message
    • ticketUid

      private String ticketUid
      Associated ticket UID if complaint is converted to or related to a ticket
    • user

      private String user
      Customer/user information who submitted the complaint (stored as JSON)
    • agent

      private String agent
      Agent information who is handling the complaint (stored as JSON)
    • workgroup

      private String workgroup
      Workgroup information if complaint is related to a workgroup (stored as JSON)
    • replyContent

      private String replyContent
      Agent's reply to the complaint
    • replyImages

      private List<String> replyImages
      Images attached to the reply
    • replyAttachments

      private List<String> replyAttachments
      Files attached to the reply
    • replyUser

      private String replyUser
      Agent who replied to the complaint (stored as JSON)
    • repliedAt

      private ZonedDateTime repliedAt
      Timestamp when the complaint was replied to
    • readUser

      private String readUser
      Agent who read the complaint (stored as JSON)
    • readAt

      private ZonedDateTime readAt
      Timestamp when the complaint was read
    • transferUser

      private String transferUser
      Agent who transferred the complaint (stored as JSON)
    • targetAgentUid

      private String targetAgentUid
      Target agent UID for transfer
    • transferredAt

      private ZonedDateTime transferredAt
      Timestamp when the complaint was transferred
    • closeUser

      private String closeUser
      Agent who closed the complaint (stored as JSON)
    • closedAt

      private ZonedDateTime closedAt
      Timestamp when the complaint was closed
    • resolveUser

      private String resolveUser
      Agent who resolved the complaint (stored as JSON)
    • resolvedAt

      private ZonedDateTime resolvedAt
      Timestamp when the complaint was resolved
    • investigationNotes

      private String investigationNotes
      Investigation notes and findings
    • resolutionDescription

      private String resolutionDescription
      Resolution description
    • channel

      private String channel
      Customer source channel
    • deviceInfo

      private String deviceInfo
      Customer device information
    • ipAddress

      private String ipAddress
      Customer's IP address
    • location

      private String location
      Geographic location information
    • extra

      private String extra
      Additional metadata stored as JSON
  • Constructor Details

    • ComplaintEntity

      public ComplaintEntity()
  • Method Details

    • isServiceType

      public Boolean isServiceType()
    • isProductType

      public Boolean isProductType()
    • isAgentType

      public Boolean isAgentType()
    • isWorkgroupType

      public Boolean isWorkgroupType()
    • isSystemType

      public Boolean isSystemType()
    • isBillingType

      public Boolean isBillingType()
    • isTechnicalType

      public Boolean isTechnicalType()
    • isPrivacyType

      public Boolean isPrivacyType()
    • isGeneralType

      public Boolean isGeneralType()
    • isPending

      public Boolean isPending()
    • isProcessing

      public Boolean isProcessing()
    • isInvestigating

      public Boolean isInvestigating()
    • isRead

      public Boolean isRead()
    • isReplied

      public Boolean isReplied()
    • isTransferred

      public Boolean isTransferred()
    • isEscalated

      public Boolean isEscalated()
    • isClosed

      public Boolean isClosed()
    • isResolved

      public Boolean isResolved()
    • isRejected

      public Boolean isRejected()
    • isSpam

      public Boolean isSpam()
    • isInvalid

      public Boolean isInvalid()
    • isConfirmed

      public Boolean isConfirmed()
    • isCancelled

      public Boolean isCancelled()
    • isWithdrawn

      public Boolean isWithdrawn()
    • setProcessing

      public ComplaintEntity setProcessing()
    • setInvestigating

      public ComplaintEntity setInvestigating()
    • setRead

      public ComplaintEntity setRead()
    • setReplied

      public ComplaintEntity setReplied()
    • setTransferred

      public ComplaintEntity setTransferred()
    • setEscalated

      public ComplaintEntity setEscalated()
    • setClosed

      public ComplaintEntity setClosed()
    • setResolved

      public ComplaintEntity setResolved()
    • setRejected

      public ComplaintEntity setRejected()
    • setSpam

      public ComplaintEntity setSpam()
    • setInvalid

      public ComplaintEntity setInvalid()
    • setConfirmed

      public ComplaintEntity setConfirmed()
    • setCancelled

      public ComplaintEntity setCancelled()
    • setWithdrawn

      public ComplaintEntity setWithdrawn()
    • getUserProtobuf

      public UserProtobuf getUserProtobuf()
    • getAgentProtobuf

      public UserProtobuf getAgentProtobuf()
    • getWorkgroupProtobuf

      public UserProtobuf getWorkgroupProtobuf()
    • getReplyUserProtobuf

      public UserProtobuf getReplyUserProtobuf()
    • getReadUserProtobuf

      public UserProtobuf getReadUserProtobuf()
    • getTransferUserProtobuf

      public UserProtobuf getTransferUserProtobuf()
    • getCloseUserProtobuf

      public UserProtobuf getCloseUserProtobuf()
    • getResolveUserProtobuf

      public UserProtobuf getResolveUserProtobuf()
    • isHighPriority

      public Boolean isHighPriority()
    • isLowPriority

      public Boolean isLowPriority()
    • isUrgent

      public Boolean isUrgent()
    • getPriorityEnum

      public PriorityEnum getPriorityEnum()
    • setPriorityEnum

      public void setPriorityEnum(PriorityEnum priorityEnum)
    • getRepliedAtString

      public String getRepliedAtString()
    • getReadAtString

      public String getReadAtString()
    • getTransferredAtString

      public String getTransferredAtString()
    • getClosedAtString

      public String getClosedAtString()
    • getResolvedAtString

      public String getResolvedAtString()
    • hasReply

      public Boolean hasReply()
    • hasImages

      public Boolean hasImages()
    • hasAttachments

      public Boolean hasAttachments()
    • hasReplyImages

      public Boolean hasReplyImages()
    • hasReplyAttachments

      public Boolean hasReplyAttachments()
    • hasInvestigationNotes

      public Boolean hasInvestigationNotes()
    • hasResolutionDescription

      public Boolean hasResolutionDescription()