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

@Entity('jail_cells')
export class JailCellEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: '60' }) name: string;
    @Column({ type: 'int' }) faction_id: number;
    @Column({ type: 'int' }) x: number;
    @Column({ type: 'int' }) y: number;
    @Column({ type: 'int' }) z: number;
    @Column({ type: 'int' }) release_x: number;
    @Column({ type: 'int' }) release_y: number;
    @Column({ type: 'int' }) release_z: number;
    @Column({ type: 'int' }) max_capacity: number;
}
