22 lines
472 B
Protocol Buffer
22 lines
472 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package bet.protobuf.pagination;
|
||
|
|
||
|
option csharp_namespace = "Bet.Protobuf.Pagination";
|
||
|
option cc_enable_arenas = true;
|
||
|
option java_package = "com.bet.protobuf.pagination";
|
||
|
option java_outer_classname = "PaginationProto";
|
||
|
option java_multiple_files = true;
|
||
|
option objc_class_prefix = "BetPagination";
|
||
|
option go_package = "bet.com/protobuf/pagination";
|
||
|
|
||
|
enum SortOrder {
|
||
|
ASC = 0;
|
||
|
DESC = 1;
|
||
|
}
|
||
|
|
||
|
message Sort {
|
||
|
string by = 1;
|
||
|
SortOrder order = 2;
|
||
|
}
|