feat: add employee work fields
This commit is contained in:
parent
75ecf230f7
commit
aae7c4640e
3 changed files with 20 additions and 4 deletions
|
|
@ -886,11 +886,10 @@ model EmployeeWork {
|
|||
positionName String?
|
||||
jobType String?
|
||||
workplace String?
|
||||
identityNo String?
|
||||
workPermitNo String?
|
||||
workPermitIssueDate DateTime? @db.Date
|
||||
workPermitExpireDate DateTime? @db.Date
|
||||
workEndDate DateTime? @db.Date
|
||||
remark String?
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
createdBy User? @relation(name: "EmployeeWorkCreatedByUser", fields: [createdByUserId], references: [id], onDelete: SetNull)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue