opponentproduct.h

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

H
68
字号
// OpponentProduct.h: interface for the COpponentProduct class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_OPPONENTPRODUCT_H__1345D76C_45DF_4324_8EB3_D7D436E96777__INCLUDED_)
#define AFX_OPPONENTPRODUCT_H__1345D76C_45DF_4324_8EB3_D7D436E96777__INCLUDED_

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

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

public:
	COleDateTime	GetIssueDate();
	CString GetOpponentID();
	CString	GetProductID();
	CString	GetProductName();
	CString	GetProductShortenedName();
	CString	GetStandard();
	float		GetPrice();
	CString	GetModel();
	CString	GetMarketQuota();
	CString	GetMarketFlection();
	CString	GetMarketProspect();
	CString	GetFunction();
	
	void SetIssueDate(COleDateTime vIssueDate);
	void SetOpponentID(CString vOpponentID);
	void SetProductID(CString vProductID);
	void SetProductName(CString vProductName);
	void SetProductShortenedName(CString vProductShortenedName);
	void SetStandard(CString vStandard);
	void SetPrice(float vPrice);
	void SetModel(CString vModel);
	void SetMarketQuota(CString vMarketQuota);
	void SetMarketFlection(CString vMarketFlection);
	void SetMarketProspect(CString vMarketProspect);
	void SetFunction(CString vFunction);

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


private:
	COleDateTime	issueDate;
	CString opponentID;
	CString	productID;
	CString	productName;
	CString	productShortenedName;
	CString	standard;
	float		price;
	CString	model;
	CString	marketQuota;
	CString	marketFlection;
	CString	marketProspect;
	CString	function;

};

#endif // !defined(AFX_OPPONENTPRODUCT_H__1345D76C_45DF_4324_8EB3_D7D436E96777__INCLUDED_)

⌨️ 快捷键说明

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