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

Struct Fans

models/fans.go:19–23  ·  view source on GitHub ↗

粉丝表

Source from the content-addressed store, hash-verified

17
18//粉丝表
19type Fans struct {
20 Id int //自增主键
21 Uid int `orm:"index"` //被关注的用户id
22 FansId int `orm:"index"` //粉丝id
23}
24
25// 多字段唯一键
26func (this *Fans) TableUnique() [][]string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected