Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alist-org
GitHub Repository: alist-org/alist
Path: blob/main/internal/model/label.go
1560 views
1
package model
2
3
import "time"
4
5
type Label struct {
6
ID uint `json:"id" gorm:"primaryKey"` // unique key
7
Type int `json:"type"` // use to type
8
Name string `json:"name"` // use to name
9
Description string `json:"description"` // use to description
10
BgColor string `json:"bg_color"` // use to bg_color
11
CreateTime time.Time `json:"create_time"`
12
}
13
14