Package com.bytedesk.core.feature
Class FeatureEntity
java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.core.feature.FeatureEntity
- All Implemented Interfaces:
Serializable
Feature entity for system feature management and licensing
Manages feature flags, configurations, and premium feature access
Database Table: bytedesk_core_feature
Purpose: Stores feature definitions, configurations, and access control settings
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringUnique feature code identifier (e.g., im.chat, ticket.basic)private StringJSON schema for feature configuration optionsprivate StringDefault configuration values for the feature in JSON formatprivate StringDescription of the feature functionalityprivate BooleanWhether the feature is enabledprivate BooleanWhether this is a premium feature requiring special accessprivate StringMinimum version required to support this featureprivate StringModule name that the feature belongs to (e.g., im, ticket, forum)private StringDisplay name of the featureprivate IntegerSort order for feature display -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseEntity
getCreatedAtString, getUpdatedAtString
-
Field Details
-
code
Unique feature code identifier (e.g., im.chat, ticket.basic) -
name
Display name of the feature -
description
Description of the feature functionality -
moduleName
Module name that the feature belongs to (e.g., im, ticket, forum) -
sortOrder
Sort order for feature display -
enabled
Whether the feature is enabled -
isPremium
Whether this is a premium feature requiring special access -
minVersion
Minimum version required to support this feature -
configSchema
JSON schema for feature configuration options -
defaultConfig
Default configuration values for the feature in JSON format
-
-
Constructor Details
-
FeatureEntity
public FeatureEntity()
-