import { SORT } from '../enums/sort';

export class Header {
  label: string;
  source: string;
  sort: SORT;

  constructor(data: Partial<Header>) {
    this.label = data?.label ?? '';
    this.source = data?.source ?? '';
    this.sort = data?.sort ?? SORT.NONE;
  }
}
