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 String
Form access control settings stored as JSON formatprivate Boolean
Whether anonymous submissions are allowedprivate String
Description of the form's purposeprivate ZonedDateTime
Expiration date/time for the formprivate String
Form structure definition stored as JSON formatprivate String
Form layout type (SINGLE_COLUMN, TWO_COLUMN, RESPONSIVE, etc.)private String
Name or title of the formprivate ZonedDateTime
Timestamp when the form was publishedprivate String
URL to redirect to after form submissionprivate String
Current status of the form (DRAFT, PUBLISHED, ARCHIVED, DISABLED)private String
Form styling configuration stored as JSON formatprivate Integer
Total number of form submissions receivedprivate Integer
Maximum number of submissions allowed (0 means unlimited)private String
Message to display after successful form submissionTags for form categorization and searchprivate Boolean
Whether 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()
-