#ifndef PRODUCT_H
#define PRODUCT_H
using namespace std;

class Product{
	private:
		int id;
		string state;
		double value;
	public:
		Product(int startId);
		int getId();
		string getState();
		double getValue();
		void setState(string newState);
		void setValue(double newValue);
		void printStatus();
};

Product::Product(int startId){
	id=startId;
	state="Raw";
	value=0.0;
}

int Product::getId(){
	return id;
}

string Product::getState(){
	return state;
}

double Product::getValue(){
	return value;
}

void Product::setState(string newState){
	state=newState;
}

void Product::setValue(double newValue){
	value=newValue;
}

void Product::printStatus(){
	cout<<"[Product ID: "<<id<<"] Sate: "<<state<<" | Value: "<<value<<"."<<endl;
}

#endif




