diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 8b98e78..0a43c92 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -233,6 +233,7 @@ model CustomerBranch { registerDate DateTime authorizedCapital String + address String addressEN String province Province? @relation(fields: [provinceId], references: [id], onDelete: SetNull) @@ -252,6 +253,8 @@ model CustomerBranch { latitude String longitude String + status Status @default(CREATED) + createdBy String? createdAt DateTime @default(now()) updateBy String? @@ -264,8 +267,12 @@ model Employee { id String @id @default(uuid()) code String - fullName String - fullNameEN String + nrcNo String + firstName String + firstNameEN String + lastName String + lastNameEN String + dateOfBirth DateTime gender String nationality String @@ -289,7 +296,6 @@ model Employee { arrivalBarricade String arrivalCardNo String - profileImageUrl String customerBranch CustomerBranch? @relation(fields: [customerBranchId], references: [id], onDelete: SetNull) customerBranchId String? @@ -303,7 +309,7 @@ model Employee { employeeCheckup EmployeeCheckup[] employeeWork EmployeeWork[] - EmployeeOtherInfo EmployeeOtherInfo[] + employeeOtherInfo EmployeeOtherInfo[] } model EmployeeCheckup {