recommender/internal/entity/Tag.go
2024-11-10 03:49:53 +08:00

16 lines
384 B
Go

package entity
import "leafdev.top/Ecosystem/recommender/internal/schema"
type Tag struct {
Id schema.EntityId `gorm:"primarykey" json:"id"`
Name string `json:"name"`
Vectorized bool `json:"vectorized"`
//Application *Application
//ApplicationId schema.EntityId `json:"application_id"`
}
func (u *Tag) TableName() string {
return "tags"
}