mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 23:09:59 +00:00
16 lines
301 B
TypeScript
16 lines
301 B
TypeScript
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
|
|
|
|
@Entity("archives")
|
|
export class ArchiveEntry {
|
|
@Column()
|
|
@PrimaryGeneratedColumn("uuid")
|
|
id: string;
|
|
|
|
@Column() guild_id: string;
|
|
|
|
@Column() body: string;
|
|
|
|
@Column() created_at: string;
|
|
|
|
@Column() expires_at: string;
|
|
}
|