เพิ่มตำแหน่งเจ้าหน้าที่

This commit is contained in:
kittapath 2024-09-12 22:53:58 +07:00
parent 3b0d8c24a7
commit 6f11eecb8f
15 changed files with 771 additions and 33 deletions

View file

@ -31,6 +31,7 @@ import { ProfileEdit } from "./ProfileEdit";
import { ProfileDevelopment } from "./ProfileDevelopment";
import { OrgRoot } from "./OrgRoot";
import { PermissionOrg } from "./PermissionOrg";
import { CommandSend } from "./CommandSend";
@Entity("profile")
export class Profile extends EntityBase {
@ -371,6 +372,9 @@ export class Profile extends EntityBase {
@OneToMany(() => ProfileFamilyCouple, (v) => v.profile)
profileFamilyCouple: ProfileFamilyCouple[];
@OneToMany(() => CommandSend, (v) => v.profile)
commandSends: CommandSend[];
@ManyToOne(() => PosLevel, (posLevel) => posLevel.profiles)
@JoinColumn({ name: "posLevelId" })
posLevel: PosLevel;