| 8 | ) |
| 9 | |
| 10 | type 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 获取对应数据库表名. |
| 17 | func (m *Label) TableName() string { |
nothing calls this directly
no outgoing calls
no test coverage detected