migrate create table commandOperator #2220

This commit is contained in:
harid 2026-02-02 18:33:30 +07:00
parent e5e407e122
commit ec04da5611
3 changed files with 118 additions and 0 deletions

View file

@ -4,6 +4,7 @@ import { CommandType } from "./CommandType";
import { CommandSend } from "./CommandSend";
import { CommandSalary } from "./CommandSalary";
import { CommandRecive } from "./CommandRecive";
import { CommandOperator } from "./CommandOperator";
import { ProfileSalary } from "./ProfileSalary";
import { ProfileSalaryHistory } from "./ProfileSalaryHistory";
import { CommandSign } from "./CommandSign";
@ -165,6 +166,9 @@ export class Command extends EntityBase {
@OneToMany(() => CommandRecive, (commandRecive) => commandRecive.command)
commandRecives: CommandRecive[];
@OneToMany(() => CommandOperator, (commandOperator) => commandOperator.command)
commandOperators: CommandOperator[];
@OneToMany(() => ProfileSalary, (profileSalary) => profileSalary.command)
profileSalarys: ProfileSalary[];