model PasswordResetRequest {
  id            String    @id @db.Uuid
  email         String
  otpHash       String    @map("otp_hash")
  otpExpiresAt  DateTime  @map("otp_expires_at")
  otpAttempts   Int       @default(0) @map("otp_attempts")
  otpLastSentAt DateTime  @map("otp_last_sent_at")
  otpResendCount Int      @default(0) @map("otp_resend_count")
  usedAt        DateTime? @map("used_at")
  createdAt     DateTime  @default(now()) @map("created_at")
  updatedAt     DateTime  @updatedAt @map("updated_at")

  @@index([email])
  @@index([otpExpiresAt])
  @@map("password_reset_requests")
}