#include<iostream>
#include<fstream>
#include<map>
#include<vector>
#include<algorithm>
#include<iomanip>
using namespace std;
class Goods{ //商品类
protected:
string Id;
string Name;
string Brand;
double BuyingPrice;
double RetailPrice;
int Stock;
int Sales;
public:
Goods(string id,string n,string b,double bp,double rp,int st=0,int sa=0);
void setBPrice(double bp);
void setRPrice(double rp);
string getId();
string getName();
double getBPrice();
double getRPrice();
int getStock();
int getSales();
void setStock(int s);
void setSales(int s);
virtual void showInfo()=0;
};
Goods::Goods(string id,string n,string b,double bp,double rp,int st,int sa