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:"->"`
}

type GroupPower struct {
}

type GroupPowerUser struct {
	GroupPowerId uint64
	UserId       uint64
	Role         int
}