This commit is contained in:
AdisakKanthawilang 2024-05-14 14:37:23 +07:00
parent e1db0a0a73
commit 596b7f0b97
5 changed files with 48 additions and 1 deletions

View file

@ -120,6 +120,14 @@ export class OrgChild3 extends EntityBase {
})
ancestorDNA: string;
@Column({
nullable: true,
length: 255,
comment: "หน้าที่ความรับผิดชอบ",
default: null,
})
duty: string;
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild3s)
@JoinColumn({ name: "orgRevisionId" })
orgRevision: OrgRevision;
@ -170,6 +178,9 @@ export class CreateOrgChild3 {
@Column("uuid")
orgChild2Id: string;
@Column()
duty?: string;
}
export type UpdateOrgChild3 = Partial<CreateOrgChild3> & { orgChild3Rank?: OrgChild3Rank };