import { Injectable } from "@angular/core";
import { ApiService } from "../../services/api.service";
import { HttpClient } from "@angular/common/http";
import { HelpersService } from "../../services/helpers.service";

export interface Ringkasan {
  DitindakLanjuti: number;
  Selesai: number;
  DalamProses: number;
  Perbaikan: number;
  Ditolak: number;
  SemuaLaporan: number;
}

@Injectable({
  providedIn: "root",
})
export class RingkasanService extends ApiService<Ringkasan> {
  constructor(
    public override http: HttpClient,
    public override helpers: HelpersService
  ) {
    super(http, helpers);
    this.endpoint = "report-list/count";
  }
}
