mobile.proto 583 B

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