Files
YaeMikoBot/database/groups.go
2025-08-27 23:26:36 +03:00

21 lines
412 B
Go

package database
import "github.com/shopspring/decimal"
type Group struct {
ID int
Name string
IsAdmin bool
IsVip bool
IsTester bool
Multiplier decimal.Decimal
Sale decimal.Decimal
MaxWaifus int
}
// func GetGroupById(id int) (*Group, error) {
// group := new(Group)
// // err := Database.Get(group, "select * from groups where id=$1;", id)
// return group, err
// }