import { Component, Input } from '@angular/core';
import { CommonModule } from '@angular/common';

export interface ComplaintItem {
  id: string;
  type: string;
  description: string;
  submitTime: any;
  status: string;
  response?: string;
}

@Component({
  selector: 'app-complaint-card',
  standalone: true,
  imports: [CommonModule],
  templateUrl: './complaint-card.html',
  styleUrls: ['./complaint-card.scss']
})
export class ComplaintCardComponent {
  @Input() complaints: ComplaintItem[] = [];
}