/**
 * Complaint Types
 * Central type definitions for complaint-related data structures
 */

export interface Complaint {
  id: number;
  complaintBody: string;
  userId: number;
  orderId: number | null;
  isResolved: boolean;
  response: string | null;
  createdAt: Date;
  images: string[] | null;
}

export interface ComplaintWithUser extends Complaint {
  userName: string | null;
  userMobile: string | null;
}
