import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('wiki_links')
export class WikiLinkEntity {
    @PrimaryGeneratedColumn() id?: number;
    @Column({ type: 'json' }) keywords: string;
    @Column({ type: 'varchar', length: 32 }) title: string;
    @Column({ type: 'varchar', length: 64 }) path: string;
    @Column({ type: 'datetime' }) created: Date;
}
