return type is changed
This commit is contained in:
parent
37f18d672b
commit
6a948abeb9
|
@ -15,7 +15,7 @@ message CreateMemberBankDepositRequest {
|
||||||
|
|
||||||
message CreateMemberBankDepositResponse {
|
message CreateMemberBankDepositResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1;
|
bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -36,7 +36,7 @@ message ListMemberBankDepositsRequest {
|
||||||
|
|
||||||
message ListMemberBankDepositsResponse {
|
message ListMemberBankDepositsResponse {
|
||||||
message Result {
|
message Result {
|
||||||
repeated bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposits = 1;
|
repeated bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposits = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -48,7 +48,7 @@ message GetMemberBankDepositRequest {
|
||||||
|
|
||||||
message GetMemberBankDepositResponse {
|
message GetMemberBankDepositResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1;
|
bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -63,7 +63,7 @@ message UpdateMemberBankDepositRequest {
|
||||||
|
|
||||||
message UpdateMemberBankDepositResponse {
|
message UpdateMemberBankDepositResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1;
|
bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -77,7 +77,7 @@ message UpdateMemberBankDepositForStateRequest {
|
||||||
|
|
||||||
message UpdateMemberBankDepositForStateResponse {
|
message UpdateMemberBankDepositForStateResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1;
|
bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
|
|
@ -18,7 +18,7 @@ message CreateMemberBankWithdrawRequest {
|
||||||
|
|
||||||
message CreateMemberBankWithdrawResponse {
|
message CreateMemberBankWithdrawResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -41,7 +41,7 @@ message ListMemberBankWithdrawsRequest {
|
||||||
|
|
||||||
message ListMemberBankWithdrawsResponse {
|
message ListMemberBankWithdrawsResponse {
|
||||||
message Result {
|
message Result {
|
||||||
repeated bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraws = 1;
|
repeated bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraws = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -53,7 +53,7 @@ message GetMemberBankWithdrawRequest {
|
||||||
|
|
||||||
message GetMemberBankWithdrawResponse {
|
message GetMemberBankWithdrawResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -71,7 +71,7 @@ message UpdateMemberBankWithdrawRequest {
|
||||||
|
|
||||||
message UpdateMemberBankWithdrawResponse {
|
message UpdateMemberBankWithdrawResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -84,7 +84,7 @@ message UpdateMemberBankWithdrawForStateRequest {
|
||||||
|
|
||||||
message UpdateMemberBankWithdrawForStateResponse {
|
message UpdateMemberBankWithdrawForStateResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
|
|
@ -2,10 +2,13 @@ syntax = "proto3";
|
||||||
|
|
||||||
package bet.beteran.member_bank_deposit;
|
package bet.beteran.member_bank_deposit;
|
||||||
|
|
||||||
|
import "models/member.proto";
|
||||||
|
|
||||||
enum MemberBankDepositState {
|
enum MemberBankDepositState {
|
||||||
NONE = 0;
|
NONE = 0;
|
||||||
APPLICATION = 1;
|
APPLICATION = 1;
|
||||||
COMPLETE = 2;
|
PENDING = 2;
|
||||||
|
COMPLETE = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message MemberBankDeposit {
|
message MemberBankDeposit {
|
||||||
|
@ -19,3 +22,16 @@ message MemberBankDeposit {
|
||||||
uint64 created_at = 8;
|
uint64 created_at = 8;
|
||||||
uint64 updated_at = 9;
|
uint64 updated_at = 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
message MemberBankDepositModel {
|
||||||
|
string id = 1;
|
||||||
|
bet.beteran.member.Member member = 2;
|
||||||
|
string name = 3;
|
||||||
|
uint32 amount = 4;
|
||||||
|
optional string memo = 5;
|
||||||
|
MemberBankDepositState state = 6;
|
||||||
|
uint64 state_changed_at = 7;
|
||||||
|
uint64 created_at = 8;
|
||||||
|
uint64 updated_at = 9;
|
||||||
|
}
|
||||||
|
|
|
@ -2,10 +2,13 @@ syntax = "proto3";
|
||||||
|
|
||||||
package bet.beteran.member_bank_withdraw;
|
package bet.beteran.member_bank_withdraw;
|
||||||
|
|
||||||
|
import "models/member.proto";
|
||||||
|
|
||||||
enum MemberBankWithdrawState {
|
enum MemberBankWithdrawState {
|
||||||
NONE = 0;
|
NONE = 0;
|
||||||
APPLICATION = 1;
|
APPLICATION = 1;
|
||||||
COMPLETE = 2;
|
PENDING = 2;
|
||||||
|
COMPLETE = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message MemberBankWithdraw {
|
message MemberBankWithdraw {
|
||||||
|
@ -22,3 +25,19 @@ message MemberBankWithdraw {
|
||||||
uint64 created_at = 11;
|
uint64 created_at = 11;
|
||||||
uint64 updated_at = 12;
|
uint64 updated_at = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
message MemberBankWithdrawModel {
|
||||||
|
string id = 1;
|
||||||
|
bet.beteran.member.Member member = 2;
|
||||||
|
string bank_name = 3;
|
||||||
|
string name = 4;
|
||||||
|
string account_number = 5;
|
||||||
|
uint32 amount = 6;
|
||||||
|
string password = 7;
|
||||||
|
optional string memo = 8;
|
||||||
|
MemberBankWithdrawState state = 9;
|
||||||
|
uint64 state_changed_at = 10;
|
||||||
|
uint64 created_at = 11;
|
||||||
|
uint64 updated_at = 12;
|
||||||
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ message CreateMemberBankDepositRequest {
|
||||||
|
|
||||||
message CreateMemberBankDepositResponse {
|
message CreateMemberBankDepositResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1;
|
bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -47,7 +47,7 @@ message ListMemberBankDepositsRequest {
|
||||||
|
|
||||||
message ListMemberBankDepositsResponse {
|
message ListMemberBankDepositsResponse {
|
||||||
message Result {
|
message Result {
|
||||||
repeated bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposits = 1;
|
repeated bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposits = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -64,7 +64,7 @@ message GetMemberBankDepositRequest {
|
||||||
|
|
||||||
message GetMemberBankDepositResponse {
|
message GetMemberBankDepositResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1;
|
bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -84,7 +84,7 @@ message UpdateMemberBankDepositRequest {
|
||||||
|
|
||||||
message UpdateMemberBankDepositResponse {
|
message UpdateMemberBankDepositResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1;
|
bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -102,7 +102,7 @@ message UpdateMemberBankDepositForStateRequest {
|
||||||
|
|
||||||
message UpdateMemberBankDepositForStateResponse {
|
message UpdateMemberBankDepositForStateResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1;
|
bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -123,3 +123,13 @@ message DeleteMemberBankDepositResponse {
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss_event.member_bank_deposit.AfterUpdateMemberBankDepositForState
|
||||||
|
message AfterUpdateMemberBankDepositForState {
|
||||||
|
message Event {
|
||||||
|
bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Event event = 2;
|
||||||
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ message CreateMemberBankWithdrawRequest {
|
||||||
|
|
||||||
message CreateMemberBankWithdrawResponse {
|
message CreateMemberBankWithdrawResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -52,7 +52,7 @@ message ListMemberBankWithdrawsRequest {
|
||||||
|
|
||||||
message ListMemberBankWithdrawsResponse {
|
message ListMemberBankWithdrawsResponse {
|
||||||
message Result {
|
message Result {
|
||||||
repeated bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraws = 1;
|
repeated bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraws = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -69,7 +69,7 @@ message GetMemberBankWithdrawRequest {
|
||||||
|
|
||||||
message GetMemberBankWithdrawResponse {
|
message GetMemberBankWithdrawResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -92,7 +92,7 @@ message UpdateMemberBankWithdrawRequest {
|
||||||
|
|
||||||
message UpdateMemberBankWithdrawResponse {
|
message UpdateMemberBankWithdrawResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -110,7 +110,7 @@ message UpdateMemberBankWithdrawForStateRequest {
|
||||||
|
|
||||||
message UpdateMemberBankWithdrawForStateResponse {
|
message UpdateMemberBankWithdrawForStateResponse {
|
||||||
message Result {
|
message Result {
|
||||||
bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1;
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
|
@ -131,3 +131,13 @@ message DeleteMemberBankWithdrawResponse {
|
||||||
optional bet.protobuf.rpc.Error error = 1;
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
optional Result result = 2;
|
optional Result result = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss_event.member_bank_withdraw.AfterUpdateMemberBankWithdrawForState
|
||||||
|
message AfterUpdateMemberBankWithdrawForState {
|
||||||
|
message Event {
|
||||||
|
bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Event event = 2;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user