feat: Integrate Data Connect and Implement Staff List View Directory
This commit is contained in:
53
apps/web/dataconnect/schema/business.gql
Normal file
53
apps/web/dataconnect/schema/business.gql
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user