import { Column, Entity } from 'typeorm'; import { BaseEntity } from '../../meta/entity/base-entity.entity'; @Entity({ name: 'frm_mapper_master' }) export class Mapper extends BaseEntity { constructor() { super(); this.entity_type = 'MAP'; } @Column({ nullable: true, type: 'varchar', length: 100 }) description: string; @Column({ nullable: true, type: 'varchar', length: 100 }) mapped_entity_type: string; }