新增退群时间

This commit is contained in:
李寻欢
2023-10-11 14:46:47 +08:00
parent e6198a88c1
commit af4b4d1b4f
2 changed files with 15 additions and 7 deletions

View File

@@ -1,5 +1,7 @@
package entity
import "time"
// Friend
// @description: 好友列表
type Friend struct {
@@ -17,12 +19,13 @@ func (Friend) TableName() string {
// GroupUser
// @description: 群成员
type GroupUser struct {
GroupId string `json:"groupId"` // 群Id
Account string `json:"account"` // 账号
HeadImage string `json:"headImage"` // 头像
Nickname string `json:"nickname"` // 昵称
Wxid string `json:"wxid"` // 微信Id
IsMember bool `json:"isMember" gorm:"type:tinyint(1)"` // 是否群成员
GroupId string `json:"groupId"` // 群Id
Account string `json:"account"` // 账号
HeadImage string `json:"headImage"` // 头像
Nickname string `json:"nickname"` // 昵称
Wxid string `json:"wxid"` // 微信Id
IsMember bool `json:"isMember" gorm:"type:tinyint(1)"` // 是否群成员
LeaveTime time.Time `json:"leaveTime"` // 离开时间
}
func (GroupUser) TableName() string {