Class QueueContent

java.lang.Object
com.bytedesk.core.base.BaseContent
com.bytedesk.core.message.content.QueueContent
All Implemented Interfaces:
Serializable

public class QueueContent extends BaseContent
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • content

      private String content
      展示给用户的排队提示文本(可国际化处理后再塞入此字段)
    • position

      private Integer position
      当前用户所在排队位置(从1开始)。为便于前端直接数字运算采用 Integer。
    • queueSize

      private Integer queueSize
      当前队列总人数(含自己),用于前端显示或动态估算。
    • waitSeconds

      private Integer waitSeconds
      预计等待秒数(粗略估算),前端可换算为分钟展示。为 null 表示无法估算。
    • estimatedWaitTime

      private String estimatedWaitTime
      人性化预计等待时间描述,如 "约5分钟";与 waitSeconds 同步,仅展示用。
    • serverTimestamp

      private Long serverTimestamp
      服务端时间戳(毫秒)。用于前端进行动态剩余时间估算的基准。
  • Constructor Details

    • QueueContent

      public QueueContent()