import { Component, Input } from '@angular/core';
import { RouterLink } from '@angular/router';

@Component({
  selector: 'app-purchase-list-item',
  standalone: true,
  imports: [RouterLink],
  templateUrl: './purchase-list-item.html',
  styleUrl: './purchase-list-item.scss',
})
export class PurchaseListItem {
  @Input() purchase!: { id: number; date: string };
}

