import {productInterface} from './product';

export interface cartInterface {
  _id?: string;
  productId?: string;
  variationId?: any;
  amount: string;
  totalAmount: string;
  quantity: number;
  updated_at?: string;
  created_at?: string;
  createdBy?: {
    name: string;
    dateTime: string;
    _id: string;
  };
  deleted?: false;
  userId?: string;
  product?: productInterface;
  user?: {
    _id: string;
    phoneCode: string;
    phone: string;
    firstName: string;
    lastName: string;
    updated_at: string;
    created_at: string;
    createdBy: {
      name: string;
      dateTime: string;
      _id: any;
    };
    deleted: false;
    role: string;
    status: true;
    updatedBy: {
      name: string;
      dateTime: string;
      _id: any;
    };
  };
  variation?: any;
}
