import dayjs from 'dayjs/esm';
import { IResilientEntity } from 'app/resilient/resilient-base/resilient-base.model';

import { IInputDataUpload } from 'app/entities/input-data-upload/input-data-upload.model';

export interface IInputDataUploadLog extends IResilientEntity {
  logMessage?: string | null;
  creationDate?: dayjs.Dayjs | null;
  creationUsername?: string | null;
  inputDataUpload?: Pick<IInputDataUpload, 'id' | 'title'> | null;
}

export type NewInputDataUploadLog = Omit<IInputDataUploadLog, 'id'> & { id: null };
