00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef Work_HPP
00017 #define Work_HPP
00018
00019 #include "read_write_base.hpp"
00020
00021 class Work_Obj: public read_write_base
00022 {
00023 public:
00024 identifier Id;
00025 string Name;
00026 string Description;
00027 llong Query;
00028 llong User;
00029 llong User_Group;
00030 llong User_Role;
00031 string URL;
00032 string Search;
00033 int Sequence;
00034
00035 Work_Obj():read_write_base()
00036 ,Id(0LL)
00037 ,Name("")
00038 ,Description("")
00039 ,Query(0LL)
00040 ,User(0LL)
00041 ,User_Group(0LL)
00042 ,User_Role(0LL)
00043 ,URL("")
00044 ,Search("")
00045 ,Sequence(0)
00046 {
00047
00048 data_name("Work");
00049
00050 addDXMap( new llongXfer("Id", &Id ));
00051 addDXMap( new stringXfer("Name", &Name ));
00052 addDXMap( new stringXfer("Description", &Description ));
00053 addDXMap( new llongXfer("Query", &Query ));
00054 addDXMap( new llongXfer("User", &User ));
00055 addDXMap( new llongXfer("User_Group", &User_Group ));
00056 addDXMap( new llongXfer("User_Role", &User_Role ));
00057 addDXMap( new stringXfer("URL", &URL ));
00058 addDXMap( new stringXfer("Search", &Search ));
00059 addDXMap( new intXfer("Sequence", &Sequence ));
00060 }
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076 };
00077 #endif
00078
00079