mobile.proto 680 B

1234567891011121314151617181920212223242526272829303132333435
  1. syntax = "proto3";
  2. package backend.operation;
  3. option go_package = ".;operationPb";
  4. import "backend/operation/pagination.proto";
  5. import "backend/operation/system.proto";
  6. message SearchMobileRequest {
  7. string name = 1; // 名称
  8. PaginationModel pagination = 2; // 分页
  9. }
  10. message SearchMobileResponse {
  11. int32 code = 1;
  12. string msg = 2;
  13. SearchMobileData data = 3;
  14. }
  15. message SearchMobileData {
  16. int32 page = 1;
  17. int32 total = 2;
  18. int32 page_size = 3;
  19. repeated MobileData list = 4;
  20. }
  21. message MobileData {
  22. uint32 id = 1;
  23. string name = 2;
  24. uint32 created_at = 3;
  25. string created_at_format = 4;
  26. repeated AddMenuRequest children = 15; // 子分类
  27. }