import { BaseEntity } from 'src/module/meta/entity/base-entity.entity'; import { Column, Entity } from 'typeorm'; @Entity({ name: 'frm_linked_attribute' }) export class LinkedAttributes extends BaseEntity { @Column({ name: 'field_name', type: 'varchar', length: 100, nullable: true }) field_name: string; @Column({ name: 'attribute_key', type: 'varchar', length: 100, nullable: true, }) attribute_key: string; @Column({ name: 'applicable_attribute_key', type: 'varchar', length: 100, nullable: true, }) applicable_attribute_key: string; @Column({ name: 'mapped_entity_type', type: 'varchar', length: 50, nullable: true, }) mapped_entity_type: string; @Column({ name: 'applicable_entity_type', type: 'varchar', length: 50, nullable: true, }) applicable_entity_type: string; @Column({ name: 'saved_filter_code', type: 'varchar', length: 100, nullable: true, }) saved_filter_code: string; @Column({ nullable: true }) sequence: number; }