add isDeputy

This commit is contained in:
kittapath 2024-10-21 17:11:21 +07:00
parent 96edba3c08
commit 7aeafcd723
4 changed files with 83 additions and 0 deletions

View file

@ -105,6 +105,12 @@ export class OrgRoot extends EntityBase {
})
responsibility: string;
@Column({
comment: "เป็นปลัด",
default: false,
})
isDeputy: boolean;
@Column({
length: 40,
comment: "คีย์นอก(FK)ของตาราง orgRevision",
@ -164,6 +170,9 @@ export class CreateOrgRoot {
@Column("uuid")
orgRevisionId: string;
@Column()
isDeputy: boolean;
}
export type UpdateOrgRoot = Partial<CreateOrgRoot> & { orgRootRank?: OrgRootRank };