totopia-proto/api/proto/v1/common/search-sort.proto

20 lines
392 B
Protocol Buffer
Raw Normal View History

2019-07-02 15:28:46 +00:00
syntax = "proto3";
package loafle.cms.proto.common;
option csharp_namespace = "Loafle.Cms.Proto.Common";
option cc_enable_arenas = true;
option go_package = "git.loafle.net/cms/proto/common";
option java_package = "com.loafle.cms.proto.common";
option objc_class_prefix = "LF";
enum SearchOrder {
DESC = 0;
ASC = 1;
}
message SearchSort {
string key = 1;
SearchOrder order = 2;
}