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

📄 patient.h

📁 还不错
💻 H
字号:
// Patient.h: interface for the CPatient class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PATIENT_H__3E04416A_0F49_44F5_8A3A_CC4F461226C2__INCLUDED_)
#define AFX_PATIENT_H__3E04416A_0F49_44F5_8A3A_CC4F461226C2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CPatient  
{
private:
	int Id;
	CString Name;
	CString IDNum;
	CString Sex;
	int Age;
	CString Marry;
public:
	CPatient();
	virtual ~CPatient();

	// 属性设置
	void SetId(int iId);
	int GetId();
	void SetName(CString cName);
	CString GetName();
	void SetIDNum(CString cIDNum);
	CString GetIDNum();
	void SetSex(CString cSex);
	CString GetSex();
	void SetAge(int iAge);
	int GetAge();
	void SetMarry(CString cMarry);
	CString GetMarry();
public:
	// 插入新的患者信息
	int sql_Insert();
	// 更改患者信息
	void sql_Update(CString cId);
	// 删除患者信息
	void sql_Delete(CString cId);

};

#endif // !defined(AFX_PATIENT_H__3E04416A_0F49_44F5_8A3A_CC4F461226C2__INCLUDED_)

⌨️ 快捷键说明

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