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


@Entity()
export class Record {
    @PrimaryGeneratedColumn()
    id: number;

    @Column({ default: "" })
    agency: string;

    @Column({ default: "" })
    name: string;

    @CreateDateColumn({ type: 'datetime', precision: 6 })
    createDate: Date
}