plugin.go 480 B

1234567891011121314
  1. package models
  2. import (
  3. "github.com/langgenius/dify-plugin-daemon/internal/types/entities/plugin_entities"
  4. )
  5. type Plugin struct {
  6. Model
  7. PluginID string `json:"id" orm:"index;size:127"`
  8. Refers int `json:"refers" orm:"default:0"`
  9. InstallType plugin_entities.PluginRuntimeType `json:"install_type" orm:"size:127;index"`
  10. ManifestType plugin_entities.DifyManifestType `json:"manifest_type" orm:"size:127"`
  11. }