Package com.bytedesk.service.workgroup
Class WorkgroupEntity
java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.service.workgroup.WorkgroupEntity
- All Implemented Interfaces:
Serializable
WorkgroupEntity和skills的区别主要在于:
- 组织结构 vs 能力标签
- WorkgroupEntity是组织结构层面的分组,比如"售前组"、"售后组"、"技术支持组"等
- Skills是能力标签层面的标识,比如"Java"、"Python"、"数据库"等技术能力
WorkgroupEntity和agent的区别主要在于:
- agent:一对一人工客服,不支持机器人接待
- robot:机器人客服,不支持转人工
- workgroup:工作组,支持机器人接待,支持转人工
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<AgentEntity>
private String
private String
private String
存储下一个待分配的客服等信息private IntentionSettingsEntity
private InviteSettingsEntity
private AgentEntity
private MessageLeaveSettings
private @NotBlank String
private QueueSettings
private RobotSettings
private String
private static final long
private ServiceSettings
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
获取可用客服long
long
long
long
轮询分配算法实现访客到客服的分配检查是否超载Methods inherited from class com.bytedesk.core.base.BaseEntity
getCreatedAtString, getUpdatedAtString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
nickname
-
avatar
-
description
-
routingMode
-
status
-
messageLeaveSettings
-
robotSettings
-
serviceSettings
-
queueSettings
-
agents
-
messageLeaveAgent
-
extra
存储下一个待分配的客服等信息 -
inviteSettings
-
intentionSetting
-
-
Constructor Details
-
WorkgroupEntity
public WorkgroupEntity()
-
-
Method Details
-
getAvailableAgents
获取可用客服- Returns:
- 可用客服列表
-
isOverloaded
检查是否超载 -
isConnected
轮询分配算法实现访客到客服的分配- Returns:
- 分配到的客服
-
toUserProtobuf
-
getConnectedAgentCount
public long getConnectedAgentCount() -
getAvailableAgentCount
public long getAvailableAgentCount() -
getOfflineAgentCount
public long getOfflineAgentCount() -
getBusyAgentCount
public long getBusyAgentCount() -
getAwayAgentCount
public long getAwayAgentCount()
-