moving dataconnect to dev

This commit is contained in:
José Salazar
2026-01-19 19:18:11 -05:00
parent 6960e9e472
commit c5afbd99cd
147 changed files with 10531 additions and 0 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
}