89 lines
1.6 KiB
Go
89 lines
1.6 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.30.0
|
|
|
|
package repo
|
|
|
|
import (
|
|
"github.com/jackc/pgx/v5/pgtype"
|
|
)
|
|
|
|
type MoneyRecord struct {
|
|
ID int64
|
|
CategoryID int64
|
|
UserID int64
|
|
Amount pgtype.Numeric
|
|
Remark pgtype.Text
|
|
RecordTime pgtype.Date
|
|
CreateTime pgtype.Timestamp
|
|
UpdateTime pgtype.Timestamp
|
|
}
|
|
|
|
type MoneySysCategory struct {
|
|
ID int64
|
|
Name string
|
|
Icon string
|
|
Type int32
|
|
SortNumber int32
|
|
CreateTime pgtype.Timestamp
|
|
}
|
|
|
|
type MoneyUserCategory struct {
|
|
ID int64
|
|
UserID int64
|
|
Name string
|
|
Icon string
|
|
Type int32
|
|
SortNumber int32
|
|
CreateTime pgtype.Timestamp
|
|
}
|
|
|
|
type Space struct {
|
|
ID int64
|
|
Name pgtype.Text
|
|
InviteCode string
|
|
CreateTime pgtype.Timestamp
|
|
UpdateTime pgtype.Timestamp
|
|
}
|
|
|
|
type SpaceMember struct {
|
|
ID int64
|
|
SpaceID int64
|
|
UserID int64
|
|
Role int32
|
|
JoinTime pgtype.Timestamp
|
|
}
|
|
|
|
type User struct {
|
|
ID int64
|
|
Username string
|
|
Avatar string
|
|
Status int32
|
|
LastLoginTime pgtype.Timestamptz
|
|
CreateTime pgtype.Timestamptz
|
|
UpdateTime pgtype.Timestamptz
|
|
}
|
|
|
|
type UserInfo struct {
|
|
ID int64
|
|
SeqNo pgtype.Int4
|
|
Account string
|
|
Password string
|
|
Email pgtype.Text
|
|
Username pgtype.Text
|
|
Gender pgtype.Int4
|
|
CreateTime pgtype.Timestamp
|
|
UpdateTime pgtype.Timestamp
|
|
ActiveTime pgtype.Timestamp
|
|
LastLoginTime pgtype.Timestamp
|
|
}
|
|
|
|
type UserOauth struct {
|
|
ID int64
|
|
UserID int64
|
|
Type int32
|
|
Openid string
|
|
CreateTime pgtype.Timestamptz
|
|
UpdateTime pgtype.Timestamptz
|
|
}
|