mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-15 09:47:09 +08:00
17 lines
379 B
Go
17 lines
379 B
Go
package model
|
|
|
|
// SubscribeUserTableName collection constant.
|
|
const (
|
|
SubscribeUserTableName = "subscribe_user"
|
|
)
|
|
|
|
// SubscribeUser collection structure.
|
|
type SubscribeUser struct {
|
|
UserID string `bson:"user_id" json:"userID"`
|
|
UserIDList []string `bson:"user_id_list" json:"userIDList"`
|
|
}
|
|
|
|
func (SubscribeUser) TableName() string {
|
|
return SubscribeUserTableName
|
|
}
|