plugin.go 561 B

123456789101112131415
  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. Checksum string `json:"checksum" orm:"size:127"`
  10. InstallType plugin_entities.PluginRuntimeType `json:"install_type" orm:"size:127;index"`
  11. ManifestType plugin_entities.DifyManifestType `json:"manifest_type" orm:"size:127"`
  12. }