add isDeputy
This commit is contained in:
parent
96edba3c08
commit
7aeafcd723
4 changed files with 83 additions and 0 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue