import { Column, Entity } from 'typeorm'; import { BaseEntity } from './base-entity.entity'; import { ENTITYTYPE_ENTITYTABLE } from '../../../constant/global.constant'; @Entity({ name: 'frm_entity_table' }) export class EntityTable extends BaseEntity { constructor() { super(); this.entity_type = ENTITYTYPE_ENTITYTABLE; } @Column({ name: 'mapped_entity_type', nullable: true }) mapped_entity_type: string; @Column({ name: 'menu_code', nullable: true }) menu_code: string; @Column({ name: 'category', nullable: true }) category: string; @Column({ name: 'is_default', nullable: true }) is_default: number; @Column({ name: 'show_checkbox', nullable: true }) show_checkbox: number; @Column({ name: 'show_row_count', nullable: true }) show_row_count: number; @Column({ name: 'page_length', nullable: true }) page_length: number; @Column({ name: 'row_reorder', nullable: true }) row_reorder: number; @Column({ name: 'tab_column', nullable: true }) tab_column: string; @Column({ name: 'list_type', nullable: true }) list_type: string; @Column({ name: 'data_source', nullable: true }) data_source: string; @Column({ name: 'is_proc', nullable: true }) is_proc: number; @Column({ name: 'display_type', nullable: true }) display_type: string; }