feat: add fields customer
This commit is contained in:
parent
20725b0357
commit
2f85dab0a3
2 changed files with 56 additions and 35 deletions
|
|
@ -420,20 +420,28 @@ model Customer {
|
|||
id String @id @default(cuid())
|
||||
|
||||
customerType CustomerType
|
||||
telephoneNo String
|
||||
|
||||
namePrefix String?
|
||||
firstName String
|
||||
firstName String?
|
||||
firstNameEN String?
|
||||
lastName String
|
||||
lastName String?
|
||||
lastNameEN String?
|
||||
gender String
|
||||
birthDate DateTime @db.Date
|
||||
gender String?
|
||||
birthDate DateTime? @db.Date
|
||||
citizenId String?
|
||||
|
||||
legalPersonNo String?
|
||||
registerName String?
|
||||
registerNameEN String?
|
||||
businessType String?
|
||||
jobPosition String?
|
||||
|
||||
status Status @default(CREATED)
|
||||
statusOrder Int @default(0)
|
||||
|
||||
registeredBranchId String?
|
||||
registeredBranch Branch? @relation(fields: [registeredBranchId], references: [id])
|
||||
registeredBranchId String
|
||||
registeredBranch Branch @relation(fields: [registeredBranchId], references: [id])
|
||||
|
||||
selectedImage String?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue