|
|
|
@ -77,17 +77,19 @@ func (FriendRequest) TableName() string {
|
|
|
|
|
type Group struct {
|
|
|
|
|
//`json:"operationID" binding:"required"`
|
|
|
|
|
//`protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"` `json:"operationID" binding:"required"`
|
|
|
|
|
GroupID string `gorm:"column:group_id;primary_key;size:64" json:"groupID" binding:"required"`
|
|
|
|
|
GroupName string `gorm:"column:name;size:255" json:"groupName"`
|
|
|
|
|
Notification string `gorm:"column:notification;size:255" json:"notification"`
|
|
|
|
|
Introduction string `gorm:"column:introduction;size:255" json:"introduction"`
|
|
|
|
|
FaceURL string `gorm:"column:face_url;size:255" json:"faceURL"`
|
|
|
|
|
CreateTime time.Time `gorm:"column:create_time"`
|
|
|
|
|
Ex string `gorm:"column:ex" json:"ex;size:1024" json:"ex"`
|
|
|
|
|
Status int32 `gorm:"column:status"`
|
|
|
|
|
CreatorUserID string `gorm:"column:creator_user_id;size:64"`
|
|
|
|
|
GroupType int32 `gorm:"column:group_type"`
|
|
|
|
|
NeedVerification int32 `gorm:"column:need_verification"`
|
|
|
|
|
GroupID string `gorm:"column:group_id;primary_key;size:64" json:"groupID" binding:"required"`
|
|
|
|
|
GroupName string `gorm:"column:name;size:255" json:"groupName"`
|
|
|
|
|
Notification string `gorm:"column:notification;size:255" json:"notification"`
|
|
|
|
|
Introduction string `gorm:"column:introduction;size:255" json:"introduction"`
|
|
|
|
|
FaceURL string `gorm:"column:face_url;size:255" json:"faceURL"`
|
|
|
|
|
CreateTime time.Time `gorm:"column:create_time"`
|
|
|
|
|
Ex string `gorm:"column:ex" json:"ex;size:1024" json:"ex"`
|
|
|
|
|
Status int32 `gorm:"column:status"`
|
|
|
|
|
CreatorUserID string `gorm:"column:creator_user_id;size:64"`
|
|
|
|
|
GroupType int32 `gorm:"column:group_type"`
|
|
|
|
|
NeedVerification int32 `gorm:"column:need_verification"`
|
|
|
|
|
LookMemberInfo int32 `gorm:"column:look_member_info" json:"lookMemberInfo"`
|
|
|
|
|
ApplyMemberFriend int32 `gorm:"column:apply_member_friend" json:"applyMemberFriend"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//message GroupMemberFullInfo {
|
|
|
|
|