export interface HoursPayoutCreate {
  user_id: string
  hours: number
  period_year?: number | null
  period_month?: number | null
  note?: string | null
}

export type PayoutStatus = 'requested' | 'approved' | 'rejected' | 'cancelled'

export interface HoursPayoutOut {
  id: string
  company_id: string
  user_id: string
  user_name: string
  hours: number
  period_year: number | null
  period_month: number | null
  note: string | null
  status: PayoutStatus
  rejection_reason: string | null
  created_by: string
  created_by_name: string
  decided_by: string | null
  decided_by_name: string
  decided_at: string | null
  created_at: string
}

export interface HoursPayoutListResponse {
  payouts: HoursPayoutOut[]
  total_count: number
}
