home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c08 / lab02 / ex01 / employeepayset.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.5 KB  |  49 lines

  1. // EmployeePaySet.h : interface of the CEmployeePaySet class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_EMPLOYEEPAYSET_H__E708A688_460C_11D0_9C9D_00A0D100E3C8__INCLUDED_)
  6. #define AFX_EMPLOYEEPAYSET_H__E708A688_460C_11D0_9C9D_00A0D100E3C8__INCLUDED_
  7.  
  8. class CEmployeePaySet : public CDaoRecordset
  9. {
  10. public:
  11.     CEmployeePaySet(CDaoDatabase* pDatabase = NULL);
  12.     DECLARE_DYNAMIC(CEmployeePaySet)
  13.  
  14. // Field/Param Data
  15.     //{{AFX_FIELD(CEmployeePaySet, CDaoRecordset)
  16.     long    m_Employee_Number;
  17.     CString    m_Last_Name;
  18.     CString    m_First_Name;
  19.     short    m_Department__;
  20.     short    m_Employee_Pay_Type;
  21.     double    m_Hours;
  22.     double    m_Hourly_Rate;
  23.     double    m_Weekly_Salary;
  24.     double    m_Sales_Bonus_Rate;
  25.     double    m_Weekly_Sales;
  26.     //}}AFX_FIELD
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CEmployeePaySet)
  31.     public:
  32.     virtual CString GetDefaultDBName();        // REVIEW:  Get a comment here
  33.     virtual CString GetDefaultSQL();     // default SQL for Recordset
  34.     virtual void DoFieldExchange(CDaoFieldExchange* pFX);    // RFX support
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. #ifdef _DEBUG
  39.     virtual void AssertValid() const;
  40.     virtual void Dump(CDumpContext& dc) const;
  41. #endif
  42.  
  43. };
  44.  
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  47.  
  48. #endif // !defined(AFX_EMPLOYEEPAYSET_H__E708A688_460C_11D0_9C9D_00A0D100E3C8__INCLUDED_)
  49.