create messagegroup
This commit is contained in:
@@ -74,11 +74,12 @@ func (*ImMessageRecord) TableIndex() [][]string {
|
||||
type MessageGroup struct {
|
||||
ModelIDCULD
|
||||
|
||||
GroupID int `orm:"column(group_id)" json:"groupID"` //组ID
|
||||
UserID string `orm:"size(48);column(user_id)" json:"userID"` //创建组的userID
|
||||
Name string `json:"name"` //组名
|
||||
Type int `json:"type"` //组类型,1为单聊,2为群聊
|
||||
MaxCount int `json:"maxCount"` //最大人数
|
||||
GroupID int `orm:"column(group_id)" json:"groupID"` //组ID
|
||||
UserID string `orm:"size(48);column(user_id)" json:"userID"` //创建组的userID
|
||||
Name string `json:"name"` //组名
|
||||
Type int `json:"type"` //组类型,1为单聊,2为群聊
|
||||
MaxCount int `json:"maxCount"` //最大人数
|
||||
DividePercentage int `json:"dividePercentage"` //分成比例
|
||||
}
|
||||
|
||||
func (*MessageGroup) TableIndex() [][]string {
|
||||
|
||||
Reference in New Issue
Block a user