open-im-server/pkg/common/storage/model/user_global_black.go
2026-04-28 19:57:56 +08:00

16 lines
522 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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"`
}