db_struct

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlackDevice

type BlackDevice struct {
	DeviceId string `gorm:"unique"`
}

type ParcelInfo

type ParcelInfo struct {
	Type int32 `json:"type"`
	Id   int64 `json:"id"`
	Num  int64 `json:"num"`
}

type YostarAccount

type YostarAccount struct {
	YostarUid     int64 `gorm:"primarykey;AUTO_INCREMENT"`
	YostarAccount string
	YostarToken   string
}

type YostarClan

type YostarClan struct {
	ServerId int64  `gorm:"primarykey;AUTO_INCREMENT"`
	ClanName string `gorm:"unique"`
	ClanInfo string
}

type YostarFriend

type YostarFriend struct {
	AccountServerId int64 `gorm:"unique"`
	FriendInfo      string
}

type YostarGame

type YostarGame struct {
	AccountServerId int64 `gorm:"unique"`
	BinData         []byte
}

type YostarMail

type YostarMail struct {
	MailIndex         int64         `gorm:"primarykey;AUTO_INCREMENT"` // 唯一id
	Sender            string        // 发件人
	Comment           string        // 内容
	SendDate          sql.NullTime  // 开始时间
	ExpireDate        sql.NullTime  // 过期时间
	ParcelInfoListSql string        // 附件列表
	ParcelInfoList    []*ParcelInfo `gorm:"-"` // 附件
}

type YostarUser

type YostarUser struct {
	Uid       int64 `gorm:"primarykey;AUTO_INCREMENT"`
	Token     string
	YostarUid int64
	DeviceId  string // 设备码
	ChannelId string
}

type YostarUserLogin

type YostarUserLogin struct {
	AccountServerId  int64 `gorm:"primarykey;AUTO_INCREMENT"`
	YostarUid        int64 `gorm:"unique"`
	YostarLoginToken string
	//TransCode        string
	Ban    bool
	BanMsg string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL