caccount.h

来自「软件的名称:AA制用餐管理系统 软件的功能:管理消费中产生的费用」· C头文件 代码 · 共 37 行

H
37
字号
#if !defined(_CACCOUNT_H)
#define _CACCOUNT_H

#include "CDate.h"
#include <string>
using namespace std;

/*帐户注册信息类*/
class CAccount
{
public:
   CAccount();
   int Getid(void);
   void Setid(int id);
   string Getname(void);
   void Setname(string name);
   char Getsex(void);
   void Setsex(char sex);
   string Getmobilephone(void);
   void Setmobilephone(string mobilephone);
   CDate Getbirthday(void);
   void Setbirthday(CDate birthday);
   double Getmoney(void);
   void Setmoney(double money);
   bool Getisstop(void);
   void Setisstop(bool isstop);
private:
   bool m_isstop;//是否停用
   char m_sex;//性别
   int m_id;//编号
   double m_money;//余额
   string m_name;//名字
   string m_mobilephone;//电话
   CDate m_birthday;//生日
};

#endif;

⌨️ 快捷键说明

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