⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cconsuminfo.cpp

📁 AA制消费管理系统 要深入学习C++面向对象编程的同学可以看看。
💻 CPP
字号:
#include "CConsumInfo.h"




int CConsumInfo::getId()
{
	return id;
}
/////////////////////////////////////////////////////
string CConsumInfo::getDate()
{
	return date;
}
/////////////////////////////////////////////////////
double CConsumInfo::getAmount()
{

	return amount;
}
/////////////////////////////////////////////////////
int CConsumInfo::getConsumTotalNum()
{

	return consumTotalNum;

}
/////////////////////////////////////////////////////
string CConsumInfo::getConsumId()
{

	return consumId;


}
/////////////////////////////////////////////////////
string CConsumInfo::getExplain()
{

	return explain;
}
/////////////////////////////////////////////////////
void CConsumInfo::setId(int n)
{
	id=n;
}
/////////////////////////////////////////////////////
void CConsumInfo::setDate(string str_date)
{

	date=str_date;

}
/////////////////////////////////////////////////////
void CConsumInfo::setAmount(double money)
{
	amount=money;
}
/////////////////////////////////////////////////////
void CConsumInfo::setConsumTotalNum(int num)
{
	consumTotalNum=num;
}
/////////////////////////////////////////////////////
void CConsumInfo::setConsumId(string totalid)
{


	consumId =totalid;


}
/////////////////////////////////////////////////////
void CConsumInfo::setExplain(string str_explain)
{


	explain=str_explain;


}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -