import { WORKFLOW } from 'src/constant/global.constant'; import { BaseEntity } from 'src/module/meta/entity/base-entity.entity'; import { Column, Entity } from 'typeorm'; @Entity({ name: 'frm_wf_master' }) export class Workflow extends BaseEntity { constructor() { super(); this.entity_type = WORKFLOW; } @Column({ type: 'varchar', nullable: true }) mapped_entity_type: string; @Column({ type: 'boolean', nullable: true }) is_default: boolean; @Column({ type: 'boolean', nullable: true }) is_factory: boolean; }