new schema and crud of vendorRate
This commit is contained in:
25
dataconnect/schema/VendorRate.gql
Normal file
25
dataconnect/schema/VendorRate.gql
Normal file
@@ -0,0 +1,25 @@
|
||||
enum VendorRateCategory {
|
||||
KITCHEN_AND_CULINARY
|
||||
CONCESSIONS
|
||||
FACILITIES
|
||||
BARTENDING
|
||||
SECURITY
|
||||
EVENT_STAFF
|
||||
MANAGEMENT
|
||||
TECHNICAL
|
||||
OTHER
|
||||
}
|
||||
|
||||
type VendorRate @table(name: "vendor_rates") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
vendorName: String!
|
||||
category: VendorRateCategory!
|
||||
roleName: String!
|
||||
employeeWage: Float!
|
||||
markupPercentage: Float
|
||||
vendorFeePercentage: Float
|
||||
clientRate: Float!
|
||||
createdDate: Timestamp @default(expr: "request.time")
|
||||
updatedDate: Timestamp @default(expr: "request.time")
|
||||
createdBy: String @default(expr: "auth.uid")
|
||||
}
|
||||
Reference in New Issue
Block a user