Migration ฟิลด์ตาราง profileLeave, profileLeaveHistory & สร้างตาราง profileAbsentLate, profileEmployeeAbsentLate
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m52s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m52s
This commit is contained in:
parent
41ad2a44e8
commit
a76bda34b4
9 changed files with 706 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ import { ProfileAssistance } from "./ProfileAssistance";
|
|||
import { ProfileSalaryTemp } from "./ProfileSalaryTemp";
|
||||
import { PositionSalaryEditHistory } from "./PositionSalaryEditHistory";
|
||||
import { ProfileChangeName } from "./ProfileChangeName";
|
||||
import { ProfileAbsentLate } from "./ProfileAbsentLate";
|
||||
|
||||
@Entity("profile")
|
||||
export class Profile extends EntityBase {
|
||||
|
|
@ -546,6 +547,9 @@ export class Profile extends EntityBase {
|
|||
@OneToMany(() => ProfileChangeName, (v) => v.profile)
|
||||
profileChangeNames: ProfileChangeName[];
|
||||
|
||||
@OneToMany(() => ProfileAbsentLate, (v) => v.profile)
|
||||
profileAbsentLates: ProfileAbsentLate[];
|
||||
|
||||
@ManyToOne(() => PosLevel, (posLevel) => posLevel.profiles)
|
||||
@JoinColumn({ name: "posLevelId" })
|
||||
posLevel: PosLevel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue