export interface SelfOperatedLedgerRow {
  id: string;
  month: string;
  dispatchDate: string;
  businessName: string;
  driver: string;
  phone: string;
  vehicleUndertaker: string;
  plateNo: string;
  brand: string;
  model: string;
  unitPrice: number;
  quantity: number;
  amount: number;
  hydrogenFee: number;
  etcFee: number;
  totalCost: number;
  profitLoss: number;
  maintainerName: string;
}

export interface SelfOperatedFilters {
  month: string;
  dispatchFrom: string;
  dispatchTo: string;
  businessName: string;
  plateNos: string[];
  vehicleUndertaker: string;
  brand: string;
  model: string;
  maintainerName: string;
}

export const EMPTY_SELF_FILTERS: SelfOperatedFilters = {
  month: '',
  dispatchFrom: '',
  dispatchTo: '',
  businessName: '',
  plateNos: [],
  vehicleUndertaker: '',
  brand: '',
  model: '',
  maintainerName: '',
};

export interface SelfOperatedKpiSummary {
  count: number;
  amount: number;
  totalCost: number;
  hydrogenFee: number;
  etcFee: number;
  profitLoss: number;
}
