Class FeatureEntity

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.core.feature.FeatureEntity
All Implemented Interfaces:
Serializable

@Entity public class FeatureEntity extends BaseEntity
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 Details

    • code

      private String code
      Unique feature code identifier (e.g., im.chat, ticket.basic)
    • name

      private String name
      Display name of the feature
    • description

      private String description
      Description of the feature functionality
    • moduleName

      private String moduleName
      Module name that the feature belongs to (e.g., im, ticket, forum)
    • sortOrder

      private Integer sortOrder
      Sort order for feature display
    • enabled

      private Boolean enabled
      Whether the feature is enabled
    • isPremium

      private Boolean isPremium
      Whether this is a premium feature requiring special access
    • minVersion

      private String minVersion
      Minimum version required to support this feature
    • configSchema

      private String configSchema
      JSON schema for feature configuration options
    • defaultConfig

      private String defaultConfig
      Default configuration values for the feature in JSON format
  • Constructor Details

    • FeatureEntity

      public FeatureEntity()