syntax = "proto3"; package bet.beteran.c2se.api.vendor; import "protobuf/rpc.proto"; import "protobuf/pagination.proto"; import "models/core/network.proto"; import "models/api/vendor.proto"; message ListVendorsRequest { message Search { optional uint64 company_id = 1; optional uint64 vendor_id = 2; optional string key_like = 3; optional string name_like = 4; optional string category_like = 5; optional string is_enable = 6; } optional bet.protobuf.pagination.Pagination pagination = 1; repeated bet.protobuf.pagination.Sort sorts = 2; optional Search search = 3; } message ListVendorsResponse { message Result { repeated bet.beteran.api.vendor.Vendor vendors = 1; } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; }