new sector entity
This commit is contained in:
18
dataconnect/schema/sector.gql
Normal file
18
dataconnect/schema/sector.gql
Normal file
@@ -0,0 +1,18 @@
|
||||
enum SectorType {
|
||||
FOOD_SERVICE
|
||||
FACILITIES
|
||||
HEALTHCARE
|
||||
EDUCATION
|
||||
CORPORATE
|
||||
SPORTS_ENTERTAINMENT
|
||||
}
|
||||
|
||||
type Sector @table(name: "sector") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
sectorNumber: String!
|
||||
sectorName: String!
|
||||
sectorType: SectorType
|
||||
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