@Entity()
export class Board {
@PrimaryGeneratedColumn()
id: number;
@Column()
slug: string;
name: string;
theme: string;
description: string;
@OneToMany(type => Topic, topic => topic.board)
topics: Topic[]
}