import {
  Column,
  Entity,
  Index,
  PrimaryColumn
} from 'typeorm';

@Entity('game_match_misses')
export class GameMatchMissEntity {
  @PrimaryColumn('text')
  processKey!: string;

  @Column('text')
  processName!: string;

  @Column('integer')
  missedAt!: number;

  @Index()
  @Column('integer')
  expiresAt!: number;
}
