/**
 * Domain Entity: MemberPayment
 */

export enum MemberPaymentStatus {
  PENDING = 'pending',
  PAID = 'paid',
  OVERDUE = 'overdue',
}

export interface MemberPayment {
  id: string;
  feeId: string;
  driverId: string;
  amount: number;
  platformFee: number;
  netAmount: number;
  status: MemberPaymentStatus;
  dueDate: Date;
  paidAt?: Date;
}