no message

This commit is contained in:
kittapath 2024-10-09 16:20:43 +07:00
parent 428ed28b64
commit 7b83f91d73
7 changed files with 185 additions and 36 deletions

View file

@ -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[];
}