no message
This commit is contained in:
parent
428ed28b64
commit
7b83f91d73
7 changed files with 185 additions and 36 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { Entity, Column, OneToMany } from "typeorm";
|
||||
import { EntityBase } from "./base/Base";
|
||||
import { State } from "./State";
|
||||
import { StateOperatorUser } from "./StateOperatorUser";
|
||||
|
||||
@Entity("workflow")
|
||||
export class Workflow extends EntityBase {
|
||||
|
|
@ -46,4 +47,7 @@ export class Workflow extends EntityBase {
|
|||
default: null,
|
||||
})
|
||||
posTypeName: string;
|
||||
|
||||
@OneToMany(() => StateOperatorUser, (stateOperatorUser) => stateOperatorUser.workflow)
|
||||
stateOperatorUsers: StateOperatorUser[];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue