103 lines
2.6 KiB
Protocol Buffer
103 lines
2.6 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bet.beteran.c2se.member_bank_withdraw;
|
|
|
|
import "protobuf/rpc.proto";
|
|
import "protobuf/pagination.proto";
|
|
|
|
import "models/member_bank_withdraw.proto";
|
|
|
|
message CreateMemberBankWithdrawRequest {
|
|
string bank_name = 1;
|
|
string name = 2;
|
|
string account_number = 3;
|
|
double amount = 4;
|
|
string password = 5;
|
|
optional string memo = 6;
|
|
}
|
|
|
|
message CreateMemberBankWithdrawResponse {
|
|
message Result {
|
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|
|
|
|
message ListMemberBankWithdrawsRequest {
|
|
message Search {
|
|
optional string member_id = 1;
|
|
optional string bank_name_like = 2;
|
|
optional string name_like = 3;
|
|
optional string account_number_like = 4;
|
|
optional double amount = 5;
|
|
optional string memo_like = 6;
|
|
optional bet.beteran.member_bank_withdraw.MemberBankWithdrawState state = 7;
|
|
}
|
|
optional bet.protobuf.pagination.Pagination pagination = 1;
|
|
repeated bet.protobuf.pagination.Sort sorts = 2;
|
|
optional Search search = 3;
|
|
}
|
|
|
|
message ListMemberBankWithdrawsResponse {
|
|
message Result {
|
|
repeated bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraws = 1;
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|
|
|
|
message GetMemberBankWithdrawRequest {
|
|
string id = 1;
|
|
}
|
|
|
|
message GetMemberBankWithdrawResponse {
|
|
message Result {
|
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|
|
|
|
message UpdateMemberBankWithdrawRequest {
|
|
string id = 1;
|
|
string bank_name = 2;
|
|
string name = 3;
|
|
string account_number = 4;
|
|
double amount = 5;
|
|
string password = 6;
|
|
optional string memo = 7;
|
|
}
|
|
|
|
message UpdateMemberBankWithdrawResponse {
|
|
message Result {
|
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|
|
|
|
message UpdateMemberBankWithdrawForStateRequest {
|
|
string id = 1;
|
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawState state = 2;
|
|
}
|
|
|
|
message UpdateMemberBankWithdrawForStateResponse {
|
|
message Result {
|
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|
|
|
|
message DeleteMemberBankWithdrawRequest {
|
|
string id = 1;
|
|
}
|
|
|
|
message DeleteMemberBankWithdrawResponse {
|
|
message Result {
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|