data type of money is changed

This commit is contained in:
병준 박 2022-08-30 08:32:03 +00:00
parent aa1fb4300d
commit 51d8b69746
9 changed files with 20 additions and 20 deletions

View File

@ -38,7 +38,7 @@ message GetGameUrlRequest {
message GetGameUrlResponse {
message Result {
uint64 user_id = 1;
uint64 balance = 2;
double balance = 2;
string url = 3;
}
optional bet.protobuf.rpc.Error error = 1;

View File

@ -9,7 +9,7 @@ import "models/member_bank_deposit.proto";
message CreateMemberBankDepositRequest {
string name = 1;
uint32 amount = 2;
double amount = 2;
optional string memo = 3;
}
@ -25,7 +25,7 @@ message ListMemberBankDepositsRequest {
message Search {
optional string member_id = 1;
optional string name_like = 2;
optional uint32 amount = 3;
optional double amount = 3;
optional string memo_like = 4;
optional bet.beteran.member_bank_deposit.MemberBankDepositState state = 5;
}
@ -57,7 +57,7 @@ message GetMemberBankDepositResponse {
message UpdateMemberBankDepositRequest {
string id = 1;
string name = 3;
uint32 amount = 5;
double amount = 5;
optional string memo = 7;
}

View File

@ -11,7 +11,7 @@ message CreateMemberBankWithdrawRequest {
string bank_name = 1;
string name = 2;
string account_number = 3;
uint32 amount = 4;
double amount = 4;
string password = 5;
optional string memo = 6;
}
@ -30,7 +30,7 @@ message ListMemberBankWithdrawsRequest {
optional string bank_name_like = 2;
optional string name_like = 3;
optional string account_number_like = 4;
optional uint32 amount = 5;
optional double amount = 5;
optional string memo_like = 6;
optional bet.beteran.member_bank_withdraw.MemberBankWithdrawState state = 7;
}
@ -64,7 +64,7 @@ message UpdateMemberBankWithdrawRequest {
string bank_name = 2;
string name = 3;
string account_number = 4;
uint32 amount = 5;
uint32 double = 5;
string password = 6;
optional string memo = 7;
}

View File

@ -9,8 +9,8 @@ message Vendor {
string key = 4;
string name = 5;
string category = 6;
uint64 max_bet_casino = 7;
uint64 max_bet_slot = 8;
double max_bet_casino = 7;
double max_bet_slot = 8;
string is_enable = 9;
uint64 bet_count = 10;
uint64 created_at = 11;

View File

@ -15,7 +15,7 @@ message MemberBankDeposit {
string id = 1;
string member_id = 2;
string name = 3;
uint32 amount = 4;
double amount = 4;
optional string memo = 5;
MemberBankDepositState state = 6;
uint64 state_changed_at = 7;
@ -28,7 +28,7 @@ message MemberBankDepositModel {
string id = 1;
bet.beteran.member.Member member = 2;
string name = 3;
uint32 amount = 4;
double amount = 4;
optional string memo = 5;
MemberBankDepositState state = 6;
uint64 state_changed_at = 7;

View File

@ -17,7 +17,7 @@ message MemberBankWithdraw {
string bank_name = 3;
string name = 4;
string account_number = 5;
uint32 amount = 6;
double amount = 6;
string password = 7;
optional string memo = 8;
MemberBankWithdrawState state = 9;
@ -33,7 +33,7 @@ message MemberBankWithdrawModel {
string bank_name = 3;
string name = 4;
string account_number = 5;
uint32 amount = 6;
double amount = 6;
string password = 7;
optional string memo = 8;
MemberBankWithdrawState state = 9;

View File

@ -49,7 +49,7 @@ message GetGameUrlRequest {
message GetGameUrlResponse {
message Result {
uint64 user_id = 1;
uint64 balance = 2;
double balance = 2;
string url = 3;
}
optional bet.protobuf.rpc.Error error = 1;

View File

@ -12,7 +12,7 @@ message CreateMemberBankDepositRequest {
message Request {
string member_id = 1;
string name = 2;
uint32 amount = 3;
double amount = 3;
optional string memo = 4;
}
bet.beteran.core.network.Client client = 1;
@ -33,7 +33,7 @@ message ListMemberBankDepositsRequest {
message Search {
optional string member_id = 1;
optional string name_like = 2;
optional uint32 amount = 3;
optional double amount = 3;
optional string memo_like = 4;
optional bet.beteran.member_bank_deposit.MemberBankDepositState state = 5;
}
@ -75,7 +75,7 @@ message UpdateMemberBankDepositRequest {
message Request {
string id = 1;
string name = 3;
uint32 amount = 5;
double amount = 5;
optional string memo = 7;
}
bet.beteran.core.network.Client client = 1;

View File

@ -14,7 +14,7 @@ message CreateMemberBankWithdrawRequest {
string bank_name = 2;
string name = 3;
string account_number = 4;
uint32 amount = 5;
double amount = 5;
string password = 6;
optional string memo = 7;
}
@ -38,7 +38,7 @@ message ListMemberBankWithdrawsRequest {
optional string bank_name_like = 2;
optional string name_like = 3;
optional string account_number_like = 4;
optional uint32 amount = 5;
optional double amount = 5;
optional string memo_like = 6;
optional bet.beteran.member_bank_withdraw.MemberBankWithdrawState state = 7;
}
@ -82,7 +82,7 @@ message UpdateMemberBankWithdrawRequest {
string bank_name = 2;
string name = 3;
string account_number = 4;
uint32 amount = 5;
double amount = 5;
string password = 6;
optional string memo = 7;
}