migrate create table commandOperator #2220
This commit is contained in:
parent
e5e407e122
commit
ec04da5611
3 changed files with 118 additions and 0 deletions
|
|
@ -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[];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue