import { BaseEntity, Column, CreateDateColumn, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity()
export class DiscordChannel extends BaseEntity
{
	@PrimaryGeneratedColumn()
	id!: number;

	@Column({ length: 20 })
	channelId!: string;

	@Column({ length: 20 })
	messageId!: string;

	@CreateDateColumn()
	createdAt!: Date;
}
