group.go 878 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
package model

import "time"

type GroupInfo struct {
	Id              int64
	ImGroupId       string
	TxGroupId       string
	Type            uint16
	Code            string
	OriginCode      string
	Owner           uint64
	OwnerExternalId string `gorm:"-"`
	OwnerCode       string `gorm:"-"`
	Name            string
	Introduction    string
	Notification    string
	FaceUrl         string
	Country         string
	ChannelId       string
	Password        string
	EntryLevel      uint32 // obsolete
	MicOn           bool
	LoadHistory     bool
	ThemeId         int16
	TouristMic      uint8
	TouristSendMsg  uint8
	TouristSendPic  uint8
	MemberFee       uint64
	MicNumType      uint8
	CreatedTime     time.Time `gorm:"->"`
	UpdatedTime     time.Time `gorm:"->"`
}
hujiebin's avatar
hujiebin committed
34 35 36 37 38 39 40 41 42

type GroupPower struct {
}

type GroupPowerUser struct {
	GroupPowerId uint64
	UserId       uint64
	Role         int
}