Class TopicEntity

java.lang.Object
com.bytedesk.core.base.BaseEntityNoOrg
com.bytedesk.core.topic.TopicEntity
All Implemented Interfaces:
Serializable

@Entity public class TopicEntity extends BaseEntityNoOrg
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • topics

      private Set<String> topics
      为防止后添加的记录,clientIds缺失,所以用数组代替,这样每个用户在topic中只有一条记录,clientIds可共用
    • monitorTopics

      private Set<String> monitorTopics
    • userUid

      @NotBlank private @NotBlank String userUid
    • clientIds

      private Set<String> clientIds
      current online clientIds 用户clientId格式: uid/client/deviceUid
  • Constructor Details

    • TopicEntity

      public TopicEntity()