Class FormEntity

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.service.form.FormEntity
All Implemented Interfaces:
Serializable

@Entity public class FormEntity extends BaseEntity
Custom form entity for customer service interactions Supports various form types like feedback forms, pre-inquiry forms, ticket forms, surveys, etc. Used to collect user information and feedback Database Table: bytedesk_service_form Purpose: Stores form definitions, configurations, and submission tracking
See Also:
  • Field Details

    • name

      private String name
      Name or title of the form
    • description

      private String description
      Description of the form's purpose
    • status

      private String status
      Current status of the form (DRAFT, PUBLISHED, ARCHIVED, DISABLED)
    • template

      private Boolean template
      Whether this form is a template for creating other forms
    • formSchema

      private String formSchema
      Form structure definition stored as JSON format
    • publishTime

      private ZonedDateTime publishTime
      Timestamp when the form was published
    • expireLength

      private ZonedDateTime expireLength
      Expiration date/time for the form
    • layoutType

      private String layoutType
      Form layout type (SINGLE_COLUMN, TWO_COLUMN, RESPONSIVE, etc.)
    • styleConfig

      private String styleConfig
      Form styling configuration stored as JSON format
    • redirectUrl

      private String redirectUrl
      URL to redirect to after form submission
    • submitMessage

      private String submitMessage
      Message to display after successful form submission
    • allowAnonymous

      private Boolean allowAnonymous
      Whether anonymous submissions are allowed
    • accessControl

      private String accessControl
      Form access control settings stored as JSON format
    • submissionLimit

      private Integer submissionLimit
      Maximum number of submissions allowed (0 means unlimited)
    • submissionCount

      private Integer submissionCount
      Total number of form submissions received
    • tagList

      private List<String> tagList
      Tags for form categorization and search
  • Constructor Details

    • FormEntity

      public FormEntity()