Files
2026-10-08 16:50:13 +08:00

22 lines
898 B
Go
Executable File

package imgroupmod
import (
"time"
"go.mongodb.org/mongo-driver/bson/primitive"
)
// ImGroupInfo 移动端返回内容
type ImGroupInfo struct {
ID primitive.ObjectID `json:"id"` //
GroupId int64 `json:"groupId"` // 群id
Name string `json:"name"` // 群组名
Cover string `json:"cover"` // 封面
Summary string `json:"summary"` // 简介
MemberNum int64 `json:"memberNum"` // 成员数量(真实)
FakeMemberNum int64 `json:"fakeMemberNum"` // 成员数量(假的)
Price int64 `json:"price"` // 加入群聊价格 0-免费
CreatedAt time.Time `json:"createdAt"` // 文档创建时间
UpdatedAt time.Time `json:"updatedAt"` // 文档更新时间
}