Class ServiceSettingsEntity

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.kbase.settings_service.ServiceSettingsEntity
All Implemented Interfaces:
Serializable

@Entity public class ServiceSettingsEntity extends BaseEntity
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • language

      @NotBlank private @NotBlank String language
    • autoPopup

      @NotNull private @NotNull Boolean autoPopup
    • showTopTip

      @NotNull private @NotNull Boolean showTopTip
    • topTip

      @NotBlank private @NotBlank String topTip
    • topTipStart

      private ZonedDateTime topTipStart
    • topTipEnd

      private ZonedDateTime topTipEnd
    • showRateBtn

      @NotNull private @NotNull Boolean showRateBtn
    • autoInviteRate

      @NotNull private @NotNull Boolean autoInviteRate
    • inviteRateTip

      private String inviteRateTip
    • rateMsgCount

      @NotNull private @NotNull Integer rateMsgCount
    • showPreForm

      @NotNull private @NotNull Boolean showPreForm
    • preFormRequired

      @NotNull private @NotNull Boolean preFormRequired
    • preFormSchema

      private String preFormSchema
    • showHistory

      @NotNull private @NotNull Boolean showHistory
    • requireLogin

      @NotNull private @NotNull Boolean requireLogin
      访客发起咨询是否需要登录(未登录则应先登录再创建会话)
    • showCaptcha

      @NotNull private @NotNull Boolean showCaptcha
    • welcomeTip

      @NotBlank private @NotBlank String welcomeTip
    • welcomeKbUid

      private String welcomeKbUid
    • welcomeFaqs

      private List<FaqEntity> welcomeFaqs
    • autoCloseMin

      @NotNull private @NotNull Double autoCloseMin
      auto close time in minutes
    • autoCloseTip

      private String autoCloseTip
    • agentCloseTip

      private String agentCloseTip
    • showRightIframe

      private Boolean showRightIframe
    • rightIframeUrl

      private String rightIframeUrl
    • inputAssociationEnabled

      private Boolean inputAssociationEnabled
    • inputAssociationKbUid

      private String inputAssociationKbUid
    • inputPreviewEnabled

      private Boolean inputPreviewEnabled
    • showFaqs

      private Boolean showFaqs
    • faqs

      private List<FaqEntity> faqs
    • faqKbUid

      private String faqKbUid
    • showQuickButtons

      private Boolean showQuickButtons
    • quickButtons

      private List<QuickButtonEntity> quickButtons
    • validateUntil

      private Date validateUntil
    • toolbar

      private ToolbarSettings toolbar
  • Constructor Details

    • ServiceSettingsEntity

      public ServiceSettingsEntity()
  • Method Details

    • fromRequest

      public static ServiceSettingsEntity fromRequest(ServiceSettingsRequest request, org.modelmapper.ModelMapper modelMapper)
      从 ServiceSettingsRequest 创建 ServiceSettings 实体 如果 request 为 null,返回默认构建的实体
      Parameters:
      request - ServiceSettingsRequest 对象,可以为 null
      modelMapper - ModelMapper 实例用于字段映射
      Returns:
      ServiceSettings 实体,永远不为 null