no message
This commit is contained in:
parent
ad97270752
commit
3ea2c7c3b0
9 changed files with 420 additions and 35 deletions
|
|
@ -2,6 +2,7 @@ import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm";
|
|||
import { EntityBase } from "./base/Base";
|
||||
import { StateOperator } from "./StateOperator";
|
||||
import { Workflow } from "./Workflow";
|
||||
import { StateUserComment } from "./StateUserComment";
|
||||
|
||||
@Entity("state")
|
||||
export class State extends EntityBase {
|
||||
|
|
@ -42,4 +43,7 @@ export class State extends EntityBase {
|
|||
|
||||
@OneToMany(() => StateOperator, (stateOperator) => stateOperator.state)
|
||||
stateOperators: StateOperator[];
|
||||
|
||||
@OneToMany(() => StateUserComment, (stateUserComment) => stateUserComment.state)
|
||||
stateUserComments: StateUserComment[];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue