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.
Open-IM-Server/pkg/common/storage/model/user_global_black.go

16 lines
522 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package model
import "time"
// UserGlobalBlack 全局黑名单/冻结记录。
// Status: 1=冻结可登录不能收发消息2=黑名单(不可登录,自动踢下线,不能收发消息)
type UserGlobalBlack struct {
UserID string `bson:"user_id"`
Nickname string `bson:"nickname"`
OperatorID string `bson:"operator_id"`
Reason string `bson:"reason"`
CreateTime time.Time `bson:"create_time"`
// Status 限制类型1=冻结2=黑名单
Status int32 `bson:"status"`
}