model Schedule {
id Int @id @default(autoincrement())
date DateTime @default(now())
time_from DateTime @default(now())
time_to DateTime
is_free Boolean
patients_id Int
patient Patients @relation(fields: [patients_id], references: [id])
doctors_id Int
doctors Doctors @relation(fields: [doctors_id], references: [id])
type Int
@@map("Schedule")
}