00001 /* 00002 Customer_Payment_Service.hpp 00003 00004 Object Definition and Implementation 00005 for Customer_Payment_Service. 00006 00007 Copyright (C) 2004 by D.K. McCombs. 00008 W3 Systems Design 00009 00010 */ 00011 #ifndef Customer_Payment_Service_HPP 00012 #define Customer_Payment_Service_HPP 00013 00014 #include "read_write_base.hpp" 00015 class Customer_Payment_Service_Obj: public read_write_base 00016 { 00017 public: 00018 identifier Id; 00019 llong Customer_Id; 00020 llong Payment_Service_Id; 00021 00022 Customer_Payment_Service_Obj():read_write_base() 00023 ,Id(0LL) 00024 ,Customer_Id(0LL) 00025 ,Payment_Service_Id(0LL) 00026 { 00027 // set name 00028 data_name("Customer_Payment_Service"); 00029 // add fields 00030 addDXMap( new llongXfer("Id", &Id )); 00031 addDXMap( new llongXfer("Customer_Id", &Customer_Id )); 00032 addDXMap( new llongXfer("Payment_Service_Id", &Payment_Service_Id )); 00033 } 00034 00035 /* 00036 Event hooks for business logic 00037 ========================= 00038 // Done before any action - a false return prevents action 00039 virtual bool ivalidate( void ) { return true; } 00040 virtual bool uvalidate( changeMap & changes ) { return true; } 00041 virtual bool dvalidate( void ) { return true; } 00042 00043 // Done after any action - a false return sets a warning 00044 virtual bool isupplemental( void ){ return true; } 00045 virtual bool usupplemental( changeMap & changes ){ return true; } 00046 virtual bool dsupplemental( void ){ return true; } 00047 virtual bool ssupplemental( void ){ return true; } 00048 */ 00049 }; 00050 #endif 00051
1.5.5