Files
Krow-workspace/legacy/dataconnect-v1/schema/emergencyContact.gql
2026-03-18 15:04:18 +01:00

18 lines
372 B
GraphQL

enum RelationshipType {
FAMILY
SPOUSE
FRIEND
OTHER
}
type EmergencyContact @table(name: "emergecyContacts") {
id: UUID! @default(expr: "uuidV4()")
name: String!
phone: String!
relationship: RelationshipType!
staffId: UUID!
createdAt: Timestamp @default(expr: "request.time")
updatedAt: Timestamp @default(expr: "request.time")
createdBy: String
}