Files
Krow-workspace/backend/dataconnect/schema/teamHub.gql
José Salazar 3cf791ddbf merge with dev
2026-02-26 11:17:01 -05:00

31 lines
649 B
GraphQL

type TeamHub @table(name: "team_hubs") {
id: UUID! @default(expr: "uuidV4()")
teamId: UUID!
team: Team! @ref(fields: "teamId", references: "id")
costCenterId: UUID
costCenter: CostCenter @ref(fields: "costCenterId", references: "id")
hubName: String!
address: String!
placeId: String
latitude: Float
longitude: Float
city: String
state: String
street: String
country: String
zipCode: String
managerName: String
isActive: Boolean! @default(expr: "true")
departments: Any
createdAt: Timestamp @default(expr: "request.time")
updatedAt: Timestamp @default(expr: "request.time")
createdBy: String
}