generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
}

enum LeadStatus {
  NEW
  IN_PROGRESS
  CALL_SCHEDULED
  WON
  LOST
}

model Lead {
  id        String     @id @default(cuid())
  company   String
  phone     String
  email     String?
  message   String?
  source    String     @default("website")
  status    LeadStatus @default(NEW)
  createdAt DateTime   @default(now())
  updatedAt DateTime   @updatedAt
}