summary refs log tree commit diff
path: root/src/util/entities/EmbedCache.ts
blob: e182b8c23af7a6534f582ee41e375ab3f60d2df1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { BaseClass } from "./BaseClass";
import { Entity, Column } from "typeorm";
import { Embed } from "./Message";

@Entity("embed_cache")
export class EmbedCache extends BaseClass {
	@Column()
	url: string;

	@Column({ type: "simple-json" })
	embed: Embed;
}