31 lines
649 B
GraphQL
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
|
|
}
|