import { BaseEntity } from 'src/module/meta/entity/base-entity.entity'; import { Column, Entity } from 'typeorm'; @Entity({ name: 'frm_activity_log' }) export class ActivityLog extends BaseEntity { constructor() { super(); this.entity_type = 'ACLG'; } @Column({ type: 'varchar', nullable: true }) mapped_entity_type: string; @Column({ type: 'varchar', nullable: true }) mapped_entity_id: string; @Column({ type: 'varchar', nullable: true }) title: string; @Column({ type: 'varchar', nullable: true }) description: string; @Column({ type: 'varchar', nullable: true }) category: string; @Column({ type: 'varchar', nullable: true }) action: string; @Column({ type: 'varchar', nullable: true }) icon: string; @Column({ type: 'varchar', nullable: true }) color: string; @Column({ type: 'varchar', nullable: true }) additional_info_1: string; @Column({ type: 'varchar', nullable: true }) additional_info_2: string; @Column({ type: 'varchar', nullable: true }) additional_info_3: string; }