feat: Integrate Data Connect and Implement Staff List View Directory

This commit is contained in:
dhinesh-m24
2026-01-31 16:54:59 +05:30
parent 48bb1c457c
commit cb25b33d04
255 changed files with 21425 additions and 109 deletions

View File

@@ -0,0 +1,53 @@
enum BusinessArea {
BAY_AREA
SOUTHERN_CALIFORNIA
NORTHERN_CALIFORNIA
CENTRAL_VALLEY
OTHER
}
enum BusinessSector {
BON_APPETIT
EUREST
ARAMARK
EPICUREAN_GROUP
CHARTWELLS
OTHER
}
enum BusinessRateGroup {
STANDARD
PREMIUM
ENTERPRISE
CUSTOM
}
enum BusinessStatus {
ACTIVE
INACTIVE
PENDING
}
type Business @table(name: "businesses") {
id: UUID! @default(expr: "uuidV4()")
businessName: String!
contactName: String
userId: String!
companyLogoUrl: String
phone: String
email: String
hubBuilding: String
address: String
city: String
area: BusinessArea
sector: BusinessSector
rateGroup: BusinessRateGroup!
status: BusinessStatus!
notes: String
# --- TIMESTAMPS ---
createdAt: Timestamp @default(expr: "request.time")
updatedAt: Timestamp @default(expr: "request.time")
createdBy: String
}