import { BaseEntity } from 'src/module/meta/entity/base-entity.entity'; import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm'; @Entity({ name: 'frm_entity_layout_pref' }) export class LayoutPreference extends BaseEntity { @Column({ length: 50, nullable: true }) user_id: string; @Column({ nullable: true, type: 'json' }) mapped_json: any; @Column({ length: 50, nullable: true, type: 'varchar' }) mapped_entity_type: string; @Column({ length: 50, nullable: true, type: 'varchar' }) type: string; @Column({ name: 'mapped_level_id', type: 'varchar', length: 100, nullable: true, }) mapped_level_id: string; @Column({ name: 'mapped_level_type', type: 'varchar', nullable: true }) mapped_level_type: string; }