import type {
  MedicineForm,
  StrengthUnit,
  MedicineCategory,
  MedicineProductSource,
  DosageUnit,
  ConcentrationUnit,
} from '../enums/medicine.enums.js';

export interface Medicine {
  id: string;
  householdId: string;
  name: string;
  form: MedicineForm;
  strength: number;
  strengthUnit: StrengthUnit;
  category: MedicineCategory;
  notes?: string;
  tags: string[];
  createdBy: string;
  createdAt: Date;
  updatedAt: Date;
}

export interface MedicineProduct {
  id: string;
  householdId: string;
  medicineId: string;
  medicineName: string;
  brand: string;
  manufacturer?: string;
  packageSize: number;
  packageUnit: DosageUnit;
  concentration?: number;
  concentrationUnit?: ConcentrationUnit;
  imageUrl?: string;
  notes?: string;
  source: MedicineProductSource;
  createdBy: string;
  createdAt: Date;
  updatedAt: Date;
}
