feat: implement sorting and visibility changes
This commit is contained in:
@@ -25,6 +25,8 @@ model Doctor {
|
||||
designation String?
|
||||
workingStatus String?
|
||||
qualification String?
|
||||
isActive Boolean @default(true)
|
||||
globalSortOrder Int @default(1000)
|
||||
|
||||
departments DoctorDepartment[]
|
||||
appointments Appointment[]
|
||||
@@ -46,6 +48,9 @@ model Department {
|
||||
facilities String?
|
||||
services String?
|
||||
|
||||
isActive Boolean @default(true)
|
||||
sortOrder Int @default(1000)
|
||||
|
||||
doctors DoctorDepartment[]
|
||||
appointments Appointment[]
|
||||
|
||||
@@ -61,7 +66,7 @@ model DoctorDepartment {
|
||||
|
||||
doctor Doctor @relation(fields: [doctorId], references: [id])
|
||||
department Department @relation(fields: [departmentId], references: [id])
|
||||
|
||||
sortOrder Int @default(1000)
|
||||
timing DoctorTiming?
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
@@ -111,7 +116,8 @@ model Career {
|
||||
email String?
|
||||
number String?
|
||||
status String @default("new")
|
||||
|
||||
isActive Boolean @default(true)
|
||||
sortOrder Int @default(1000)
|
||||
candidates Candidate[]
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
Reference in New Issue
Block a user