migrate responsibility

This commit is contained in:
Kittapath 2024-05-14 15:29:05 +07:00
parent 6311c9cb0d
commit 2eee5404a1
11 changed files with 285 additions and 37 deletions

View file

@ -131,7 +131,7 @@ export class OrgChild4 extends EntityBase {
comment: "หน้าที่ความรับผิดชอบ",
default: null,
})
duty: string;
responsibility: string;
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild4s)
@JoinColumn({ name: "orgRevisionId" })
@ -186,6 +186,6 @@ export class CreateOrgChild4 {
orgChild3Id: string;
@Column()
duty?: string;
responsibility?: string;
}
export type UpdateOrgChild4 = Partial<OrgChild4>;