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

@Entity('rest_routes')
export class RestRouteEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: 64 }) path: string;
    @Column({ type: 'varchar', length: 255 }) description: string;
    @Column({ type: 'varchar', length: 64 }) permission: string;
}
