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 String
Unique feature code identifier (e.g., im.chat, ticket.basic)private String
JSON schema for feature configuration optionsprivate String
Default configuration values for the feature in JSON formatprivate String
Description of the feature functionalityprivate Boolean
Whether the feature is enabledprivate Boolean
Whether this is a premium feature requiring special accessprivate String
Minimum version required to support this featureprivate String
Module name that the feature belongs to (e.g., im, ticket, forum)private String
Display name of the featureprivate Integer
Sort 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()
-