Refs #42 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
41 lines
649 B
Go
41 lines
649 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.31.1
|
|
|
|
package store
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Membership struct {
|
|
OrgID uuid.UUID
|
|
UserID uuid.UUID
|
|
IsOwner bool
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
type Org struct {
|
|
ID uuid.UUID
|
|
Slug string
|
|
Name string
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
RequireTotp bool
|
|
}
|
|
|
|
type User struct {
|
|
ID uuid.UUID
|
|
Email string
|
|
DisplayName string
|
|
PasswordHash *string
|
|
DisabledAt *time.Time
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
TotpSecret []byte
|
|
TotpEnabledAt *time.Time
|
|
Locale *string
|
|
}
|