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

@Entity('property_security_systems')
export class SecuritySystemsEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column() type: number;
    @Column() level: number;
    
    @Column({ type: 'varchar', length: 32 }) category: string;
    @Column({ type: 'varchar', length: 32 }) name: string;
    @Column({ type: 'varchar', length: 255 }) description: string;
    @Column({ type: 'varchar', length: 100 }) hash: string;
    @Column() base_price: number;
    @Column({ type: 'tinyint' }) enabled: boolean;
}