import { Types } from 'mongoose';

export interface AuditFields {
  createdAt?: Date;
  updatedAt?: Date;
  createdBy: Types.ObjectId;
  updatedBy?: Types.ObjectId;
}

type Override<T, R> = Omit<T, keyof R> & R;
