MarketingSystemDataExportTool/grpc/finance/financev1/bank_trans_log.proto

54 lines
1.4 KiB
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

syntax = "proto3";
package finance.api.inner;
import "buf/validate/validate.proto";
import "finance/financev1/model.proto";
import "finance/financev1/global.proto";
option go_package = "./finance/financev1;financev1";
service BankTransLog {
rpc ListBankTransLog (ListBankTransLogRequest) returns (ListBankTransLogReply);
}
message ListBankTransLogRequest{
PageReq page = 1 [(buf.validate.field).required = true];
// 流水来源
optional int32 tranSource = 2;
// 银行流水号
string bnkSrlnum = 3;
// 交易时间
optional TimeRange tranDatetime = 4;
// 交易金额
optional double tranAmount = 5;
// 对方账户名称
string oppAccountName = 6;
// 对方账号
string oppAccountNo = 7;
// 本方户名(公司账户名称)
string accountName = 8;
// 本方账号(公司银行账号)
string accountNo = 9;
// 交易方向
optional int32 tranType = 10;
// 认领状态
optional int32 claimProgressStatus = 11;
// 是否汇总
bool includeSummary = 12;
// 对方账户名称查询OR查询
string oppAccountNameQuery = 13;
// 对方账号列表OR查询
repeated string oppAccountNoList = 14;
// 银行流水号列表
repeated string bnkSrlnumList = 15;
// 分销商账户ID
int32 resellerAccountId = 16;
}
message ListBankTransLogReply{
repeated BankTransLogItem list = 1;
PageReply page = 2;
optional BankTransLogSummary summary = 3;
}