import { BreakageRecord } from '../entities/breakage-record.entity';

export const BREAKAGE_REPOSITORY = Symbol('IBreakageRepository');

export interface IBreakageRepository {
  save(record: BreakageRecord): Promise<BreakageRecord>;
  create(data: Partial<BreakageRecord>): BreakageRecord;
  findByIssuerId(issuerId: string): Promise<BreakageRecord[]>;
}
