import type { AdjustmentReasonCategory } from "@/types/master-data";

export type StockAdjustmentListItem = {
  id: string;
  adjustment_no: string;
  adjustment_date: string;
  lot: {
    id: string;
    lot_code: string;
    grade: string;
    unit_code: string;
  };
  reason: {
    id: string;
    code: string;
    name: string;
    description: string | null;
    category: AdjustmentReasonCategory;
  };
  qty_change: number;
  available_qty_before: number;
  available_qty_after: number;
  created_by: {
    id: string;
    name: string;
    role: string;
  };
  notes: string | null;
};
