Package com.bytedesk.service.form
Class FormEntity
java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.service.form.FormEntity
- All Implemented Interfaces:
Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprivate StringForm access control settings stored as JSON formatprivate BooleanWhether anonymous submissions are allowedprivate StringDescription of the form's purposeprivate ZonedDateTimeExpiration date/time for the formprivate StringForm structure definition stored as JSON formatprivate StringForm layout type (SINGLE_COLUMN, TWO_COLUMN, RESPONSIVE, etc.)private StringName or title of the formprivate ZonedDateTimeTimestamp when the form was publishedprivate StringURL to redirect to after form submissionprivate StringCurrent status of the form (DRAFT, PUBLISHED, ARCHIVED, DISABLED)private StringForm styling configuration stored as JSON formatprivate IntegerTotal number of form submissions receivedprivate IntegerMaximum number of submissions allowed (0 means unlimited)private StringMessage to display after successful form submissionTags for form categorization and searchprivate BooleanWhether this form is a template for creating other forms -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseEntity
getCreatedAtString, getUpdatedAtString
-
Field Details
-
name
Name or title of the form -
description
Description of the form's purpose -
status
Current status of the form (DRAFT, PUBLISHED, ARCHIVED, DISABLED) -
template
Whether this form is a template for creating other forms -
formSchema
Form structure definition stored as JSON format -
publishTime
Timestamp when the form was published -
expireLength
Expiration date/time for the form -
layoutType
Form layout type (SINGLE_COLUMN, TWO_COLUMN, RESPONSIVE, etc.) -
styleConfig
Form styling configuration stored as JSON format -
redirectUrl
URL to redirect to after form submission -
submitMessage
Message to display after successful form submission -
allowAnonymous
Whether anonymous submissions are allowed -
accessControl
Form access control settings stored as JSON format -
submissionLimit
Maximum number of submissions allowed (0 means unlimited) -
submissionCount
Total number of form submissions received -
tagList
Tags for form categorization and search
-
-
Constructor Details
-
FormEntity
public FormEntity()
-