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

@Entity('company_types')
export class CompanyTypeEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: 64 }) name: string;
    @Column({ type: 'json' }) suffixes: string[];
    @Column({ type: 'int' }) max_members: number;
    @Column({ type: 'decimal' }) income_tax: number;
}
