aa
This commit is contained in:
@@ -66,6 +66,7 @@ type ImMessageRecord struct {
|
||||
Seq int `json:"seq"`
|
||||
Weight int `json:"weight"`
|
||||
Height int `json:"height"`
|
||||
// UnReadFlag int `json:"unReadFlag"` //未读标志,为1则此条消息未读
|
||||
|
||||
UserInfo *GetUserResult `orm:"-" json:"userInfo"`
|
||||
}
|
||||
@@ -110,3 +111,17 @@ func (*MessageGroupMember) TableIndex() [][]string {
|
||||
[]string{"MemberUserID"},
|
||||
}
|
||||
}
|
||||
|
||||
type MessageGroupRead struct {
|
||||
ModelIDCUL
|
||||
|
||||
GroupID int `orm:"column(group_id)" json:"groupID"` //组ID
|
||||
UserID string `orm:"size(48);column(user_id)" json:"userID"` //创建组的userID
|
||||
UnReadCount int `json:"unReadCount"` //未读数
|
||||
}
|
||||
|
||||
func (*MessageGroupRead) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"UserID", "GroupID"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user