no message

This commit is contained in:
kittapath 2024-10-16 11:55:45 +07:00
parent ad97270752
commit 3ea2c7c3b0
9 changed files with 420 additions and 35 deletions

View file

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