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

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

    @Column()
    name: string

    @Column()
    desc: string

    @Column()
    val?: string

    @Column()
    direction: number

    @Column()
    del: number

    @CreateDateColumn()
    createdAt: Date
}
