You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
379 B
17 lines
379 B
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
|
|
}
|