entity

package
v0.0.0-...-8c88e4e Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: GPL-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 AdminEntity

type AdminEntity struct {
	bun.BaseModel `bun:"table:admin"`

	Username  string    `bun:"username,pk"`
	Password  string    `bun:"password"`
	CreatedAt time.Time `bun:"created_at"`
	UpdatedAt time.Time `bun:"updated_at"`
}

type PremiumEntity

type PremiumEntity struct {
	bun.BaseModel `bun:"table:premium"`

	JID       string    `bun:"jid,pk"`
	CreatedAt time.Time `bun:"created_at"`
	ExpiredAt time.Time `bun:"expired_at"`
}

type ReminderEntity

type ReminderEntity struct {
	bun.BaseModel `bun:"table:reminder"`

	JID      string `bun:"jid,pk"`
	Duration int64  `bun:"duration"`
	Message  string `bun:"message"`
}

type WMEntity

type WMEntity struct {
	bun.BaseModel `bun:"table:sticker_wm"`

	JID              string `bun:"jid,pk"`
	StickerName      string `bun:"sticker_name"`
	StickerPublisher string `bun:"sticker_publisher"`
}

Jump to

Keyboard shortcuts

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