import { Column, CreateDateColumn, Entity, Index, PrimaryGeneratedColumn } from 'typeorm'

@Entity()
export class Case {
    @PrimaryGeneratedColumn()
    id: number

    @Column()
    logo: string

    @Column()
    name: string

    @Column()
    tags:string

    @Column()
    desc: string

    //客户概况
    @Column()
    info: string

    //需求
    @Column()
    needs: string

    //解决方案
    @Column()
    solution: string

    //行业类型
    @Column()
    type: string

    @Column()
    del: number

    @CreateDateColumn()
    createdAt: Date
}
