import { Column } from 'typeorm';
import { CoreEntity } from './core-entity';

export class PolymorphicAuthor extends CoreEntity {
  @Column({
    // Table of authorization entity
    default: 'users',
  })
  author_table: string;

  @Column({ default: 'id' })
  author_id: string;
}
