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

@ -119,7 +119,7 @@ export class OrgChild2 extends EntityBase {
comment: "หน้าที่ความรับผิดชอบ",
default: null,
})
duty: string;
responsibility: string;
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild2s)
@JoinColumn({ name: "orgRevisionId" })
@ -172,7 +172,6 @@ export class CreateOrgChild2 {
orgChild1Id: string;
@Column()
duty?: string;
responsibility?: string;
}
export type UpdateOrgChild2 = Partial<CreateOrgChild2> & { orgChild2Rank?: OrgChild2Rank };