dao

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupSetting

type GroupSetting struct {
	ID           int64  `gorm:"primaryKey;autoIncrement:false"`
	BlackPlugins string `gorm:"size:512"`
	WhitePlugins string `gorm:"size:512"`
	Flag         string // 非空时代表该群尚未加入,是邀请入群请求flag
	CouldAdd     bool   `gorm:"default:false"` // 能否入此群标志位
	Welcome      string
}

type UserPriority

type UserPriority struct {
	ID       int64 `gorm:"primaryKey;autoIncrement:false"`
	GroupID  int64 `gorm:"primaryKey;autoIncrement:false"`
	Priority int
}

type UserSetting

type UserSetting struct {
	ID           int64   `gorm:"primaryKey;autoIncrement:false"`
	BlackPlugins string  `gorm:"size:512"` // 白名单插件
	WhitePlugins string  `gorm:"size:512"` // 黑名单插件
	Nickname     string  // 昵称
	Likeability  float64 // 好感度
	Flag         string  // 非空时代表该用户尚未成为好友,是他的好友请求flag
}

Jump to

Keyboard shortcuts

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