migrate responsibility
This commit is contained in:
parent
6311c9cb0d
commit
2eee5404a1
11 changed files with 285 additions and 37 deletions
|
|
@ -108,14 +108,13 @@ export class OrgChild1 extends EntityBase {
|
|||
})
|
||||
ancestorDNA: string;
|
||||
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
comment: "หน้าที่ความรับผิดชอบ",
|
||||
default: null,
|
||||
})
|
||||
duty: string;
|
||||
responsibility: string;
|
||||
|
||||
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild1s)
|
||||
@JoinColumn({ name: "orgRevisionId" })
|
||||
|
|
@ -165,10 +164,9 @@ export class CreateOrgChild1 {
|
|||
|
||||
@Column("uuid")
|
||||
orgRootId: string;
|
||||
|
||||
@Column()
|
||||
duty?: string;
|
||||
|
||||
@Column()
|
||||
responsibility?: string;
|
||||
}
|
||||
|
||||
export type UpdateOrgChild1 = Partial<CreateOrgChild1> & { orgChild1Rank?: OrgChild1Rank };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue