zappyzep/backend/src/data/entities/PhishermanKeyCacheEntry.ts
2021-10-31 17:17:31 +02:00

17 lines
274 B
TypeScript

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;
}