doctor.h
来自「医院管理信息系统是在Visual C++数据库编程中,访问操作数据库的完美源码实」· C头文件 代码 · 共 50 行
H
50 行
// Doctor.h: interface for the CDoctor class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DOCTOR_H__68EAC84D_E82A_40C9_B035_2ED670BD5CD9__INCLUDED_)
#define AFX_DOCTOR_H__68EAC84D_E82A_40C9_B035_2ED670BD5CD9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDoctor
{
private:
int Id;
CString Name;
CString Sex;
int Age;
int DeptId;
CString Title;
public:
CDoctor();
virtual ~CDoctor();
// 属性设置
void SetId(int iId);
int GetId();
void SetName(CString cName);
CString GetName();
void SetSex(CString cSex);
CString GetSex();
void SetAge(int iAge);
int GetAge();
void SetDeptId(int iDId);
int GetDeptId();
void SetTitle(CString cTitle);
CString GetTitle();
public:
// 插入新的医生信息
void sql_Insert();
// 更改医生信息
void sql_Update(CString cId);
// 删除医生信息
void sql_Delete(CString cId);
};
#endif // !defined(AFX_DOCTOR_H__68EAC84D_E82A_40C9_B035_2ED670BD5CD9__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?