Class AbstractThreadEntity

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.core.thread.AbstractThreadEntity
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RobotThreadEntity, ThreadEntity, VisitorThreadEntity

@MappedSuperclass public abstract class AbstractThreadEntity extends BaseEntity
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • topic

      @NotBlank private @NotBlank String topic
    • content

      private String content
    • type

      private String type
    • status

      private String status
    • unreadCount

      private Integer unreadCount
    • star

      private Integer star
    • top

      private Boolean top
    • unread

      private Boolean unread
    • mute

      private Boolean mute
    • hide

      private Boolean hide
    • folded

      private Boolean folded
    • autoClose

      private Boolean autoClose
    • note

      private String note
    • tagList

      private List<String> tagList
    • client

      private String client
    • extra

      private String extra
    • user

      private String user
      在客服会话中,存储访客信息 在同事会话中,存储同事信息 在用户私聊中,存储对方用户信息 机器人会话中,存储访客信息 群组会话中,存储群组信息 注意:h2 db 不能使用 user, 所以重定义为 thread_user
    • agent

      private String agent
      一对一客服对话中,存储客服信息
    • robot

      private String robot
    • workgroup

      private String workgroup
    • invites

      private List<String> invites
    • monitors

      private List<String> monitors
    • assistants

      private List<String> assistants
    • ticketors

      private List<String> ticketors
    • processInstanceId

      private String processInstanceId
    • processEntityUid

      private String processEntityUid
    • owner

      private UserEntity owner
  • Constructor Details

    • AbstractThreadEntity

      public AbstractThreadEntity()