import { WORKFLOW_AUTOMATION_ACTION } from 'src/constant/global.constant'; import { BaseEntity } from 'src/module/meta/entity/base-entity.entity'; import { Column, Entity } from 'typeorm'; @Entity({ name: 'frm_wf_automation_action' }) export class WorkflowAutomationActionEntity extends BaseEntity { constructor() { super(); this.entity_type = WORKFLOW_AUTOMATION_ACTION; } @Column({ type: 'int', nullable: true }) workflow_automation_id: number; @Column({ type: 'int', nullable: true }) action_category_id: number; @Column({ type: 'json', nullable: true }) payload: string; @Column({ type: 'varchar', nullable: true }) entity_method: string; @Column({ type: 'varchar', nullable: true }) actioncategoryname: string; }