// 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.Timestamp 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 ID int64 // 空间名称 Name pgtype.Text // 空间邀请码 InviteCode string // 空间创建时间 CreateTime pgtype.Timestamp // 空间更新时间 UpdateTime pgtype.Timestamp } // 共享空间成员表 type SpaceUser struct { // 主键ID ID int64 // 所属空间ID SpaceID int64 // 用户ID(唯一,每用户只加入一个空间) UserID int64 // 成员角色:0创建者 1管理员 2普通 Role int32 // 加入空间时间 JoinTime pgtype.Timestamp } 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 }