items.h 368 B

12345678910111213141516171819202122
  1. #ifndef HM_ITEMS_H
  2. #define HM_ITEMS_H
  3. #include <string>
  4. namespace hm {
  5. struct User {
  6. std::string uid, name, password, face;
  7. long timestamp;
  8. std::string getJsonStr();
  9. };
  10. struct Plate {
  11. std::string name, plate, cid_s;
  12. int cid;
  13. long timestamp;
  14. std::string getJsonStr();
  15. };
  16. }
  17. #endif //HM_ITEMS_H