MCPcopy Create free account
hub / github.com/TruthHun/BookStack / Label

Struct Label

models/label.go:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type Label struct {
11 LabelId int `orm:"column(label_id);pk;auto;unique;" json:"label_id"`
12 LabelName string `orm:"column(label_name);size(50);unique" json:"label_name"`
13 BookNumber int `orm:"column(book_number)" json:"book_number"`
14}
15
16// TableName 获取对应数据库表名.
17func (m *Label) TableName() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected