#include "../pch.h" class Ware { public: struct Size { double width; double height; }; enum WareType { DefaultWare, CoolingWare, LargeWare }; private: static int count; Id id; bool hasCooling; std::string name; Size size; WareType type; public: Ware(); ~Ware(); Ware(std::string name, bool hasCooling, double width, double height); Id getId() const; void setId(const Id id); bool getHasCooling() const; void setHasCooling(const bool isCoolable); std::string getName() const; void setName(const std::string name); Size getSize() const; void setSize(const double width, const double height); WareType getType() const; void setType(const WareType type); Id generateId(); bool isLargeWare(Size s); };