new sector entity

This commit is contained in:
José Salazar
2025-11-26 15:19:34 -05:00
parent 75836c6447
commit 104318a456
3 changed files with 91 additions and 0 deletions

View 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")
}