// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.31.1 package db import ( "time" "github.com/google/uuid" ) type Attachment struct { ID uuid.UUID ChatID uuid.UUID OwnerID uuid.UUID S3Key string Filename string ContentType string SizeBytes int64 Sha256 string Status string ErrorCode *string CreatedAt time.Time UpdatedAt time.Time } type Chat struct { ID uuid.UUID Title string CreatedAt time.Time } type ChatMember struct { ChatID uuid.UUID UserID uuid.UUID } type IdempotencyKey struct { UserID uuid.UUID Method string Path string Key string RequestHash string MessageID uuid.UUID CreatedAt time.Time } type Message struct { ID uuid.UUID ChatID uuid.UUID SenderID uuid.UUID Text string CreatedAt time.Time } type MessageAttachment struct { MessageID uuid.UUID AttachmentID uuid.UUID Position int32 } type Session struct { TokenHash string UserID uuid.UUID CreatedAt time.Time ExpiresAt time.Time } type User struct { ID uuid.UUID Username string DisplayName string PasswordHash string CreatedAt time.Time }