refactor!: customer (employer) fields

This commit is contained in:
Methapon Metanipat 2024-09-16 11:03:34 +07:00
parent 00776151c5
commit 86888ed512
4 changed files with 95 additions and 40 deletions

View file

@ -466,11 +466,15 @@ model CustomerBranch {
registerNameEN String?
registerDate DateTime? @db.Date
authorizedCapital String?
authorizedName String?
authorizedNameEN String?
workplace String
workplaceEN String
address String
addressEN String
// NOTE: Address
homeCode String
employmentOffice String
employmentOfficeEN String
address String
addressEN String
soi String?
soiEN String?
@ -488,18 +492,21 @@ model CustomerBranch {
subDistrict SubDistrict? @relation(fields: [subDistrictId], references: [id], onDelete: SetNull)
subDistrictId String?
// NOTE: contact
email String
contactTel String
officeTel String
contactName String
agent String
employmentOffice String
businessType String
businessTypeEN String
jobPosition String
jobPositionEN String
jobDescription String
saleEmployee String
payDate DateTime @db.Date
wageRate Int
// NOTE: Business
businessType String
jobPosition String
jobDescription String
payDate String
payDateEN String
wageRate Int
wageRateText String
status Status @default(CREATED)
statusOrder Int @default(0)