zappyzep/backend/src/data/entities/PhishermanKeyCacheEntry.ts

18 lines
274 B
TypeScript
Raw Normal View History

2021-10-31 17:17:31 +02:00
import { Column, Entity, PrimaryColumn } from "typeorm";
@Entity("phisherman_key_cache")
export class PhishermanKeyCacheEntry {
@Column()
@PrimaryColumn()
id: number;
@Column()
hash: string;
@Column()
is_valid: boolean;
@Column()
expires_at: string;
}