web_after_config_info.h 964 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #pragma once
  2. //stl
  3. #include <iostream>
  4. #include <vector>
  5. //robotics
  6. #include <robotics/datetime.hpp>
  7. using namespace robotics;
  8. /* ************************************************
  9. * 作者:Lenovo
  10. * 时间:2024/6/3 21:14:08
  11. * 机器名:DESKTOP-4I13MDL
  12. * 实体类名:web_after_config_info
  13. * 数据库表名 [[SqlTable("xxx")]]
  14. * 不生成反射 [[NoReflect]]
  15. * Json字段名 [[Json("xxx")]]
  16. * 不生成Json字段 [[NoJson(true)]]
  17. * Sql字段名 [[Sql("xxx")]]
  18. * 不生成Sql字段 [[NoSql(true)]]
  19. * Excel字段名 [[Excel("xxx")]]
  20. * 不生成Excel字段 [[NoExcel(true)]]
  21. * *************************************************/
  22. struct [[SqlTable("after_config")]] web_after_config_info
  23. {
  24. /**
  25. * @brief id
  26. */
  27. int id = 0;
  28. /**
  29. * @brief 修改时间
  30. */
  31. v3::datetime modify_time;
  32. /**
  33. * @brief 授权信息
  34. */
  35. std::string value;
  36. /**
  37. * @brief 启用
  38. */
  39. bool enable = false;
  40. /**
  41. * @brief 备注
  42. */
  43. std::string remarks;
  44. };