Package com.bytedesk.service.agent
Class AgentEntity
java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.service.agent.AgentEntity
- All Implemented Interfaces:
Serializable
human agent, not ai agent
- agent:一对一人工客服,不支持机器人接待
- robot:机器人客服,不支持转人工
- workgroup:工作组,支持机器人接待,支持转人工
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String客服工号(对外展示用)private Stringprivate Stringprivate @Email(message="\u90ae\u7bb1\u683c\u5f0f\u9519\u8bef") Stringprivate Booleanprivate String存储当前接待数量等private MemberEntityprivate Stringprivate Stringprivate static final longprivate AgentSettingsEntityConfiguration settings reference All settings are managed through the settings entityprivate String -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseEntity
getCreatedAtString, getUpdatedAtString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
nickname
-
agentNo
客服工号(对外展示用) -
avatar
-
description
-
mobile
-
email
@Email(message="\u90ae\u7bb1\u683c\u5f0f\u9519\u8bef") private @Email(message="\u90ae\u7bb1\u683c\u5f0f\u9519\u8bef") String email -
status
-
settings
Configuration settings reference All settings are managed through the settings entity -
extra
存储当前接待数量等 -
enabled
-
member
-
-
Constructor Details
-
AgentEntity
public AgentEntity()
-
-
Method Details
-
isAvailable
-
isOffline
-
isBusy
-
isAway
-
toUserProtobuf
-
getMaxThreadCount
兼容旧代码:获取最大同时接待数量 优先从 settings 读取;若无 settings 或为空,使用安全默认值 10 -
getTimeoutRemindEnabled
是否开启超时提醒(委托 settings) -
getTimeoutRemindTime
超时提醒时间分钟数(委托 settings) -
getTimeoutRemindTip
超时提醒提示(委托 settings)
-