export interface Heir {
  id: string
  user_id: string
  name: string
  ic_number: string
  relationship: string
  phone_number: string
  address: string
  is_primary: boolean
  created_at: string | null
  updated_at: string | null
}

export interface HeirPayload {
  name: string
  ic_number: string
  relationship: string
  phone_number: string
  address: string
  is_primary: boolean
}

export interface HeirsApiResponse {
  success: boolean
  data: Heir[]
  pagination?: {
    current_page: number
    per_page: number
    total: number
    last_page: number
  }
  message?: string
}

export interface HeirApiResponse {
  success: boolean
  data: Heir
  message?: string
}
