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

@Entity('ipls')
export class IplEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: 128 }) name: string;
    @Column({ type: 'varchar', length: 128, nullable: true }) description: string;
    @Column({ type: 'tinyint' }) enabled: boolean;
}