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

datasource db {
  provider = "postgresql"
}

model SiteSettings {
  id        Int      @id @default(1)
  title     String
  email     String
  phone     String
  address   String
  instagram String?
  updatedAt DateTime @updatedAt
}

model HeroSection {
  lang              String   @id
  location          String
  welcome           String
  title             String
  subtitle          String
  bookNow           String
  exploreActivities String
  scroll            String
  updatedAt         DateTime @updatedAt
}

model Activity {
  id          Int      @id @default(autoincrement())
  lang        String
  title       String
  description String
  price       String
  image       String
  badge       String?
  order       Int      @default(0)
  createdAt   DateTime @default(now())
  updatedAt   DateTime @updatedAt
}

model Event {
  id          Int      @id @default(autoincrement())
  lang        String
  title       String
  description String
  date        String
  time        String
  location    String
  image       String
  badge       String?
  createdAt   DateTime @default(now())
  updatedAt   DateTime @updatedAt
}

model Feature {
  id        Int      @id @default(autoincrement())
  lang      String
  icon      String
  label     String
  sub       String
  order     Int      @default(0)
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
}

model AboutSection {
  lang            String   @id
  badge           String
  titleLine1      String
  titleLine2      String
  titleHighlight  String
  description1    String
  description2    String
  image           String
  statsGuestCount String
  statsGuestLabel String
  statsYearCount  String
  statsYearLabel  String
  badgeIkoTitle   String
  badgeIkoLabel   String
  updatedAt       DateTime @updatedAt
}

model User {
  id        Int      @id @default(autoincrement())
  username  String   @unique
  password  String
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
}
