package model

import (
	"time"

	"go.mongodb.org/mongo-driver/bson/primitive"
)

type Teams struct {
	ID                primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Name              string             `bson:"name" json:"name"`
	OwnerID           primitive.ObjectID `bson:"ownerId" json:"ownerId"`
	DefaultPermission int32              `bson:"defaultPermission" json:"defaultPermission"`
	Avatar            string             `bson:"avatar" json:"avatar"`
	CreateTime        time.Time          `bson:"createTime" json:"createTime"`
	Balance           int32              `bson:"balance" json:"balance"`
	Version           int32              `bson:"__v" json:"version"`
}
