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

📄 stuff.h

📁 员工信息管理系统VC++源代码,可实现对实体对象的添加、修改、删除、查询等操作
💻 H
字号:
// Stuff.h: interface for the CStuff class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STUFF_H__91AC661E_6C50_4912_9642_AF73495D4773__INCLUDED_)
#define AFX_STUFF_H__91AC661E_6C50_4912_9642_AF73495D4773__INCLUDED_

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

//员工信息实体
class CStuff  
{
public:
	CStuff();
	virtual ~CStuff();
private:
	int     ID;          //工号
	CString Name;        //名称
	CString Sex;         //性别
	CString Knowledge;   //学历
	float   Wage;        //工资
public:
	int GetID() const
	{
		return ID;
	}
	CString GetName() const
	{
		return Name;
	}
	CString GetSex() const
	{
		return Sex;
	}
	CString GetKnowledge() const
	{
		return Knowledge;
	}
	float GetWage() const
	{
		return Wage;
	}

	void SetID(int uID)
	{
		ID = uID;
	}
	void SetName(CString strName)
	{
		Name = strName;
	}
	void SetSex(CString strSex)
	{
		Sex = strSex;
	}
	void SetKnowledge(CString strKnowledge)
	{
		Knowledge = strKnowledge;
	}
	void SetWage(float fWage)
	{
		Wage = fWage;
	}

};





#endif // !defined(AFX_STUFF_H__91AC661E_6C50_4912_9642_AF73495D4773__INCLUDED_)

⌨️ 快捷键说明

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