add isedit add permission

This commit is contained in:
mamoss 2025-03-26 10:19:45 +07:00
parent d94ba9b4ed
commit 53251652b2
4 changed files with 1263 additions and 3 deletions

View file

@ -17,6 +17,18 @@ export class PermissionProfile extends EntityBase {
})
profileId: string;
@Column({
comment: "สิทธิ์การแก้ไข",
default: false,
})
isEdit: boolean;
@Column({
comment: "สิทธิ์การตรวจสอบ",
default: false,
})
isCheck: boolean;
@ManyToOne(() => OrgRoot, (orgRoot) => orgRoot.permissionProfileRoots)
@JoinColumn({ name: "orgRootId" })
orgRootTree: OrgRoot;