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

@Entity('tax_categories')
export class TaxCategoryEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: 32 }) name: string;
    @Column({ type: 'varchar', length: 32 }) type: string;
    @Column({ type: 'int', nullable: false }) amount: number;
}
