import Drug from "../interfaces/Drug";
import Manufacturer from "../interfaces/Manufacturer";

export const getEmptyDrug = (): Drug => {
  return {
    id: -1,
    name: '',
    stock: 0,
    price: 0,
    manufacturer: '',
    description: '',
    sideEffects: '',
    interactions: '',
    dosage: '',
    contraindications: '',
    warnings: '',
    storage: '',
    pregnancy: '',
    breastfeeding: '',
    overdose: '',
  } as Drug;
}

export const getEmptyManufacturer = (): Manufacturer => {
  return {
    id: -1,
    name: '',
    address: '',
    contact: '',
    totalCount: 0,
  } as Manufacturer;
}

export default getEmptyDrug;