no message

This commit is contained in:
kittapath 2024-10-16 11:55:45 +07:00
parent ad97270752
commit 3ea2c7c3b0
9 changed files with 420 additions and 35 deletions

View file

@ -32,6 +32,8 @@ import { ProfileDevelopment } from "./ProfileDevelopment";
import { PermissionOrg } from "./PermissionOrg";
import { CommandSend } from "./CommandSend";
import { DevelopmentRequest } from "./DevelopmentRequest";
import { StateOperatorUser } from "./StateOperatorUser";
import { StateUserComment } from "./StateUserComment";
@Entity("profile")
export class Profile extends EntityBase {
@ -378,6 +380,12 @@ export class Profile extends EntityBase {
@OneToMany(() => CommandSend, (v) => v.profile)
commandSends: CommandSend[];
@OneToMany(() => StateOperatorUser, (v) => v.profile)
stateOperatorUsers: StateOperatorUser[];
@OneToMany(() => StateUserComment, (v) => v.profile)
stateUserComments: StateUserComment[];
@ManyToOne(() => PosLevel, (posLevel) => posLevel.profiles)
@JoinColumn({ name: "posLevelId" })
posLevel: PosLevel;