fix: change structure

This commit is contained in:
Methapon2001 2024-06-10 16:50:17 +07:00
parent 9c4e47105d
commit aba68af123
3 changed files with 95 additions and 15 deletions

View file

@ -428,11 +428,23 @@ model Employee {
zipCode String
email String
telephoneNo String
passportType String
passportNumber String
passportIssueDate DateTime
passportExpiryDate DateTime
passportIssuingCountry String
passportIssuingPlace String
previousPassportReference String?
arrivalBarricade String
arrivalCardNo String
visaType String
visaNumber String
visaIssueDate DateTime
visaExpiryDate DateTime
visaIssuingPlace String
visaStayUntilDate DateTime
tm6Number String
entryDate DateTime
workerStatus String
customerBranch CustomerBranch? @relation(fields: [customerBranchId], references: [id], onDelete: SetNull)
customerBranchId String?