5 Star 12 Fork 3

curriculum-design / 快递驿站系统GUI

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
error.h 796 Bytes
一键复制 编辑 原始数据 按行查看 历史
#pragma once
#include <string>
using namespace std;
class Error
{
private:
string receiptNumber;
string name;
string type;
string inform;
public:
Error(string receiptNumber,string name,string type,string inform) :
receiptNumber(receiptNumber), name(name), type(type), inform(inform) {}
Error() {}
string getReceiptNumber() { return this->receiptNumber; }
string getName() { return this->name; }
string getType() { return this->type; }
string getInform() { return this->inform; }
string display()
{
string result="回执单号:"+this->receiptNumber+"\n"+
"客户姓名:"+this->name+"\n"+
"差错类型:"+this->type+"\n"+
"错误信息:"+this->inform;
return result;
}
};
C++
1
https://gitee.com/curriculum-design/express_station_system_gui.git
git@gitee.com:curriculum-design/express_station_system_gui.git
curriculum-design
express_station_system_gui
快递驿站系统GUI
master

搜索帮助