opponentcontact.h

来自「关于客户关系管理系统的源码」· C头文件 代码 · 共 67 行

H
67
字号
// OpponentContact.h: interface for the COpponentContact class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_OPPONENTCONTACT_H__6397FFB7_56F5_4A1B_A316_1B3E71A37A72__INCLUDED_)
#define AFX_OPPONENTCONTACT_H__6397FFB7_56F5_4A1B_A316_1B3E71A37A72__INCLUDED_

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

class COpponentContact  
{
public:
	COpponentContact();
	virtual ~COpponentContact();

public:
	COleDateTime	GetContactDate();
	CString GetOpponentID();
	CString GetContactID();
	CString	GetContactAddress();
	CString	GetBussinessResource();
	CString	GetProductName();
	float	GetPrice();
	int		GetNum();
	float	GetTotal();
	CString	GetOurStaff();
	CString	GetClientStaff();
	CString	GetRemark();
	
	void SetContactDate(COleDateTime vContactDate);
	void SetOpponentID(CString vOpponentID);
	void SetContactID(CString vContactID);
	void SetContactAddress(CString vContactAddress);
	void SetBussinessResource(CString vBussinessResource);
	void SetProductName(CString vProductName);
	void SetPrice(float vPrice);
	void SetNum(int vNum);
	void SetTotal(float vTotal);
	void SetOurStaff(CString vOurStaff);
	void SetClientStaff(CString vClientStaff);
	void SetRemark(CString vRemark);

	void sqlInsert();
	void sqlUpdate(CString cOpponentID,CString cContactID);
	void sqlDelete(CString cOpponentID,CString cContactID);
	void GetData(CString cOpponentID,CString cContactID);

private:
	COleDateTime	contactDate;
	CString opponentID;
	CString contactID;
	CString	contactAddress;
	CString	bussinessResource;
	CString	productName;
	float	price;
	int		num;
	float	total;
	CString	ourStaff;
	CString	clientStaff;
	CString	remark;

};

#endif // !defined(AFX_OPPONENTCONTACT_H__6397FFB7_56F5_4A1B_A316_1B3E71A37A72__INCLUDED_)

⌨️ 快捷键说明

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