Go to the documentation of this file.00001 #include <rms/log.hpp>
00002
00003 using namespace std;
00004 using namespace librms;
00005
00006 log::log(rms *client, unsigned int id, unsigned int appointment_id, unsigned int type_id, string label, string entry, string created, string modified)
00007 :
00008 label_(label), entry_(entry), created_(created), modified_(modified)
00009 {
00010 id_ = id;
00011 appointment_id_ = appointment_id;
00012 type_id_ = type_id;
00013 client_ = client;
00014 }
00015
00016 unsigned int log::get_id() const
00017 {
00018 return id_;
00019 }
00020
00021 unsigned int log::get_appointment_id() const
00022 {
00023 return appointment_id_;
00024 }
00025
00026
00027 unsigned int log::get_type_id() const
00028 {
00029 return type_id_;
00030 }
00031
00032 string log::get_label() const
00033 {
00034 return label_;
00035 }
00036
00037 string log::get_entry() const
00038 {
00039 return entry_;
00040 }
00041
00042 string log::get_created() const
00043 {
00044 return created_;
00045 }
00046
00047 string log::get_modified() const
00048 {
00049 return modified_;
00050 }