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

@Entity({ name: 'sort_criteria' })
export class SortCriteria {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  user_id: number;

  @Column()
  parameter: string;

  @Column()
  direction: string;
}
