mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 22:06:17 +00:00
33 lines
589 B
TypeScript
33 lines
589 B
TypeScript
import {
|
|
Entity,
|
|
PrimaryColumn,
|
|
Column,
|
|
CreateDateColumn,
|
|
UpdateDateColumn,
|
|
} from "typeorm";
|
|
import type { GameShop } from "@types";
|
|
|
|
@Entity("game_shop_cache")
|
|
export class GameShopCache {
|
|
@PrimaryColumn("text", { unique: true })
|
|
objectID: string;
|
|
|
|
@Column("text")
|
|
shop: GameShop;
|
|
|
|
@Column("text", { nullable: true })
|
|
serializedData: string;
|
|
|
|
@Column("text", { nullable: true })
|
|
howLongToBeatSerializedData: string;
|
|
|
|
@Column("text", { nullable: true })
|
|
language: string;
|
|
|
|
@CreateDateColumn()
|
|
createdAt: Date;
|
|
|
|
@UpdateDateColumn()
|
|
updatedAt: Date;
|
|
}
|