enum CategoryType {
  KITCHEN_AND_CULINARY
  CONCESSIONS
  FACILITIES
  BARTENDING
  SECURITY
  EVENT_STAFF
  MANAGEMENT
  TECHNICAL
  OTHER
}

type VendorRate @table(name: "vendor_rates") {
  id: UUID! @default(expr: "uuidV4()")

  vendorId: UUID!
  vendor: Vendor! @ref(fields: "vendorId", references: "id")

  roleName: String
  category: CategoryType
  clientRate: Float
  employeeWage: Float
  markupPercentage: Float
  vendorFeePercentage: Float
  isActive: Boolean
  notes: String

  createdAt: Timestamp @default(expr: "request.time")
  updatedAt: Timestamp @default(expr: "request.time")
  createdBy: String
}
