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

📄 stucharge.h

📁 VC++做的学校收费管理系统,很有参考价值,附上源码与说明文档.
💻 H
字号:
// StuCharge.h: interface for the CStuCharge class.
//
// 1 CheId int 编号 Identity = Yes Allow Null = False 主键
// 2 StuId int 学生编号 
// 3 iYear int 缴费年度 
// 4 ChargeDate datetime 交费日期 

// 5 Should_Tuition float 应交学费 Allow Null = Yes
// 6 Fact_Tuition float 实交学费 Allow Null = Yes
// 7 Should_Incidental float 应交杂费 Allow Null = Yes
// 8 Fact_Incidental float 实交杂费 Allow Null = Yes

// 9 Should_MacTimeFee float 应交机时费 Allow Null = Yes 
// 10 Fact_MacTimeFee float 实交机时费 Allow Null = Yes
// 11 Should_Insurance float 应交保险费 Allow Null = Yes
// 12 Fact_Insurance float 实交保险费 Allow Null = Yes 

// 13 Should_DormFee float 应交住宿费 Allow Null = Yes
// 14 Fact_DormFee float 实交住宿费 Allow Null = Yes 
// 15 Should_BicycleFee float 应交存车费 Allow Null = Yes
// 16 Fact_BicycleFee float 实交存车费 Allow Null = Yes 

// 17 Should_BookFee float 应交书费 Allow Null = Yes
// 18 Fact_BookFee float 实交书费 Allow Null = Yes 
// 19 Should_FileFee float 应交资料费 Allow Null = Yes
// 20 Fact_FileFee float 实交资料费 Allow Null = Yes 

// 21 Should_Total float 应交总计 Allow Null = Yes
// 22 Fact_Total float 实交总计 Allow Null = Yes 
// 23 Memo varchar(200) 备注 Allow Null = True
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STUCHARGE_H__D46F7BBC_3A56_44FC_B67B_072CF5C6D96C__INCLUDED_)
#define AFX_STUCHARGE_H__D46F7BBC_3A56_44FC_B67B_072CF5C6D96C__INCLUDED_

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

class CStuCharge  
{
public:
	long ChgId;
	long StuId;							// 学生编号
	int iYear;							// 缴费年度
	CString ChargeDate;					// 交费日期

	double Should_Tuition;				// 应交学费
	double Fact_Tuition;				// 实交学费
	double Should_Incidental;			// 应交杂费
	double Fact_Incidental;				// 实交杂费
	
	double Should_MacTimeFee;			// 应交机时费
	double Fact_MacTimeFee;				// 实交机时费
	double Should_Insurance;			// 应交保险费
	double Fact_Insurance;				// 实交保险费

	double Should_DormFee;				// 应交住宿费
	double Fact_DormFee;				// 实交住宿费
	double Should_BicycleFee;			// 应交存车费
	double Fact_BicycleFee;				// 实交存车费
	
	double Should_BookFee;				// 应交书费
	double Fact_BookFee;				// 实交书费
	double Should_FileFee;				// 应交资料费
	double Fact_FileFee;				// 实交资料费

	double Should_Total;				// 应交合计
	double Fact_Total;					// 实交合计
	CString Memo;						// 备注
public:
	CStuCharge();
	virtual ~CStuCharge();
	// 数据库操作
	int HaveChargeInfo(CString paraId,CString cYear);	// 判断是否存在相同的交费信息
	void GetInfo(CString paraId);		// 根据学生编号得到其他信息
	void SqlInsert();					// 插入操作
	void SqlUpdate(CString paraId);		// 更新数据
	void SqlDelete(CString paraId);		// 删除操作
	
};

#endif // !defined(AFX_STUCHARGE_H__D46F7BBC_3A56_44FC_B67B_072CF5C6D96C__INCLUDED_)

⌨️ 快捷键说明

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