import { User } from 'src/app/model/auth/user';

export interface DbModelWithHistory {
  id?: number;
  editor?: User;
  deleted?: boolean;
  created?: Date;
  updated?: Date;

  history?: DbModel[];
}

export interface DbModel {
  id?: number;
  editor?: User;
  deleted?: boolean;
  created?: Date;
  updated?: Date;
}
