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

@Entity('tutorial_steps')
export class TutorialStepsEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: 64 }) title: string;
    @Column({ type: 'longtext' }) text: string;

    @Column({ type: 'float' }) x: number;
    @Column({ type: 'float' }) y: number;
    @Column({ type: 'float' }) z: number;

    @Column({ type: 'float' }) rx: number;
    @Column({ type: 'float' }) ry: number;
    @Column({ type: 'float' }) rz: number;
}