/
githubmirror
/
photoprism
Обзор
Документация
Войти
/
githubmirror
/
photoprism
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
internal/entity/category.go
14 строк
376 B
Michael Mayer
Docs: Update code comments in internal/entity/category.go and details.go
02 окт 2025, 17:19
02 окт 2025, 17:19
6218c7d
Код
Авторство
О чём код?
package entity // Category links labels to a root label representing the shared meaning. type Category struct { LabelID uint `gorm:"primary_key;auto_increment:false"` CategoryID uint `gorm:"primary_key;auto_increment:false"` Label *Label Category *Label } // TableName returns the entity table name. func (Category) TableName() string { return "categories" }