133 lines
3.6 KiB
Protocol Buffer
133 lines
3.6 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bet.beteran.ss.member_bank_withdraw;
|
|
|
|
import "models/core/network.proto";
|
|
import "protobuf/rpc.proto";
|
|
import "protobuf/pagination.proto";
|
|
import "models/member_bank_withdraw.proto";
|
|
|
|
// subject = bet.beteran.ss.member_bank_withdraw.CreateMemberBankWithdraw
|
|
message CreateMemberBankWithdrawRequest {
|
|
message Request {
|
|
string bank_name = 1;
|
|
string name = 2;
|
|
string account_number = 3;
|
|
uint32 amount = 4;
|
|
string password = 5;
|
|
optional string memo = 6;
|
|
}
|
|
bet.beteran.core.network.Client client = 1;
|
|
Request request = 2;
|
|
}
|
|
|
|
message CreateMemberBankWithdrawResponse {
|
|
message Result {
|
|
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|
|
|
|
// subject = bet.beteran.ss.member_bank_withdraw.ListMemberBankWithdraws
|
|
message ListMemberBankWithdrawsRequest {
|
|
message Request {
|
|
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 string amount = 5;
|
|
optional string memo_like = 6;
|
|
optional string state = 7;
|
|
}
|
|
optional bet.protobuf.pagination.Pagination pagination = 1;
|
|
repeated bet.protobuf.pagination.Sort sorts = 2;
|
|
optional Search search = 3;
|
|
}
|
|
bet.beteran.core.network.Client client = 1;
|
|
Request request = 2;
|
|
}
|
|
|
|
message ListMemberBankWithdrawsResponse {
|
|
message Result {
|
|
repeated bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraws = 1;
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|
|
|
|
// subject = bet.beteran.ss.member_bank_withdraw.GetMemberBankWithdraw
|
|
message GetMemberBankWithdrawRequest {
|
|
message Request {
|
|
string id = 1;
|
|
}
|
|
bet.beteran.core.network.Client client = 1;
|
|
Request request = 2;
|
|
}
|
|
|
|
message GetMemberBankWithdrawResponse {
|
|
message Result {
|
|
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|
|
|
|
// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdraw
|
|
message UpdateMemberBankWithdrawRequest {
|
|
message Request {
|
|
string id = 1;
|
|
string bank_name = 2;
|
|
string name = 3;
|
|
string account_number = 4;
|
|
uint32 amount = 5;
|
|
string password = 6;
|
|
optional string memo = 7;
|
|
}
|
|
bet.beteran.core.network.Client client = 1;
|
|
Request request = 2;
|
|
}
|
|
|
|
message UpdateMemberBankWithdrawResponse {
|
|
message Result {
|
|
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|
|
|
|
// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdrawForState
|
|
message UpdateMemberBankWithdrawForStateRequest {
|
|
message Request {
|
|
string id = 1;
|
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawState state = 2;
|
|
}
|
|
bet.beteran.core.network.Client client = 1;
|
|
Request request = 2;
|
|
}
|
|
|
|
message UpdateMemberBankWithdrawForStateResponse {
|
|
message Result {
|
|
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|
|
|
|
// subject = bet.beteran.ss.member_bank_withdraw.DeleteMemberBankWithdraw
|
|
message DeleteMemberBankWithdrawRequest {
|
|
message Request {
|
|
string id = 1;
|
|
}
|
|
bet.beteran.core.network.Client client = 1;
|
|
Request request = 2;
|
|
}
|
|
|
|
message DeleteMemberBankWithdrawResponse {
|
|
message Result {
|
|
}
|
|
optional bet.protobuf.rpc.Error error = 1;
|
|
optional Result result = 2;
|
|
}
|