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

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

    //企业id
    @Column()
    orgId: number

    //表名
    @Column()
    name: string

    //备注
    @Column()
    remark: string

    //启用
    @Column()
    used: boolean

    @CreateDateColumn()
    createdAt: Date
}
