import { ACTION_CATEGORY, ACTION_RESOURCES_MAPPING, } from 'src/constant/global.constant'; import { BaseEntity } from 'src/module/meta/entity/base-entity.entity'; import { Column, Entity } from 'typeorm'; @Entity({ name: 'frm_wf_action_resources_mapping' }) export class ActionResourcesMapping extends BaseEntity { constructor() { super(); this.entity_type = ACTION_RESOURCES_MAPPING; } @Column({ type: 'varchar', nullable: true }) template_code: string; @Column({ type: 'varchar', nullable: true }) type: string; @Column({ type: 'varchar', nullable: true }) form_id: string; @Column({ type: 'int', nullable: true }) stg_act_mapping_id: number; @Column({ type: 'varchar', nullable: true }) form_entity_type: string; }