user_response_entity.dart 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. import 'package:deus_app/generated/json/base/json_convert_content.dart';
  2. class UserResponseEntity with JsonConvert<UserResponseEntity> {
  3. late int code;
  4. late UserResponseData data;
  5. late String msg;
  6. }
  7. class UserResponseData with JsonConvert<UserResponseData> {
  8. late int id;
  9. late int accId;
  10. late String name;
  11. late String phone;
  12. late dynamic password;
  13. late int enable;
  14. late int isDelete;
  15. late int orgType;
  16. late String orgName;
  17. late int orgId;
  18. late List<UserResponseDataUserMenuList> userMenuList;
  19. late dynamic roleIdList;
  20. late List<UserResponseDataRoleList> roleList;
  21. }
  22. class UserResponseDataUserMenuList with JsonConvert<UserResponseDataUserMenuList> {
  23. late int id;
  24. late int pid;
  25. late int subCount;
  26. late int type;
  27. late String title;
  28. late String name;
  29. late String component;
  30. late int sort;
  31. late String icon;
  32. late String iconActive;
  33. late String path;
  34. late bool isEl;
  35. late bool isCache;
  36. late bool isHidden;
  37. late bool isDelete;
  38. late String permission;
  39. late String creator;
  40. late String createTime;
  41. late dynamic subMenu;
  42. late dynamic pname;
  43. }
  44. class UserResponseDataRoleList with JsonConvert<UserResponseDataRoleList> {
  45. late int id;
  46. late String name;
  47. late dynamic type;
  48. late int level;
  49. late String description;
  50. late dynamic dataScope;
  51. late int enable;
  52. late String creator;
  53. late String createTime;
  54. late dynamic menuList;
  55. }