models are modified

This commit is contained in:
병준 박 2022-09-01 17:17:19 +00:00
parent 8be4b9b7b9
commit 38a5fc3766
28 changed files with 56 additions and 28 deletions

View File

@ -50,7 +50,8 @@ message ListBettingHistoryRequest {
message ListBettingHistoryResponse { message ListBettingHistoryResponse {
message Result { message Result {
repeated bet.beteran.api.betting.BettingHistoryModel betting_history = 1; uint64 total_count = 1;
repeated bet.beteran.api.betting.BettingHistoryModel betting_history = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -23,7 +23,8 @@ message ListGamesRequest {
message ListGamesResponse { message ListGamesResponse {
message Result { message Result {
repeated bet.beteran.api.game.Game games = 1; uint64 total_count = 1;
repeated bet.beteran.api.game.Game games = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -24,7 +24,8 @@ message ListVendorsRequest {
message ListVendorsResponse { message ListVendorsResponse {
message Result { message Result {
repeated bet.beteran.api.vendor.Vendor vendors = 1; uint64 total_count = 1;
repeated bet.beteran.api.vendor.Vendor vendors = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -36,7 +36,8 @@ message ListBanksRequest {
message ListBanksResponse { message ListBanksResponse {
message Result { message Result {
repeated bet.beteran.bank.Bank banks = 1; uint64 total_count = 1;
repeated bet.beteran.bank.Bank banks = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -91,7 +91,8 @@ message ListMembersRequest {
message ListMembersResponse { message ListMembersResponse {
message Result { message Result {
repeated bet.beteran.member.MemberModel members = 1; uint64 total_count = 1;
repeated bet.beteran.member.MemberModel members = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -39,7 +39,8 @@ message ListMemberBankAccountsRequest {
message ListMemberBankAccountsResponse { message ListMemberBankAccountsResponse {
message Result { message Result {
repeated bet.beteran.member_bank_account.MemberBankAccount member_bank_accounts = 1; uint64 total_count = 1;
repeated bet.beteran.member_bank_account.MemberBankAccount member_bank_accounts = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -36,7 +36,8 @@ message ListMemberBankDepositsRequest {
message ListMemberBankDepositsResponse { message ListMemberBankDepositsResponse {
message Result { message Result {
repeated bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposits = 1; uint64 total_count = 1;
repeated bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposits = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -41,7 +41,8 @@ message ListMemberBankWithdrawsRequest {
message ListMemberBankWithdrawsResponse { message ListMemberBankWithdrawsResponse {
message Result { message Result {
repeated bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraws = 1; uint64 total_count = 1;
repeated bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraws = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -32,7 +32,8 @@ message ListMemberClassesRequest {
message ListMemberClassesResponse { message ListMemberClassesResponse {
message Result { message Result {
repeated bet.beteran.member_class.MemberClass member_classes = 1; uint64 total_count = 1;
repeated bet.beteran.member_class.MemberClass member_classes = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -36,7 +36,8 @@ message ListMemberGameSettingsRequest {
message ListMemberGameSettingsResponse { message ListMemberGameSettingsResponse {
message Result { message Result {
repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 1; uint64 total_count = 1;
repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -32,7 +32,8 @@ message ListMemberLevelsRequest {
message ListMemberLevelsResponse { message ListMemberLevelsResponse {
message Result { message Result {
repeated bet.beteran.member_level.MemberLevel member_levels = 1; uint64 total_count = 1;
repeated bet.beteran.member_level.MemberLevel member_levels = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -43,7 +43,8 @@ message ListMemberReferrersRequest {
message ListMemberReferrersResponse { message ListMemberReferrersResponse {
message Result { message Result {
repeated bet.beteran.member_referrer.MemberReferrerModel member_referrers = 1; uint64 total_count = 1;
repeated bet.beteran.member_referrer.MemberReferrerModel member_referrers = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -50,7 +50,8 @@ message ListMemberSettlementSettingsRequest {
message ListMemberSettlementSettingsResponse { message ListMemberSettlementSettingsResponse {
message Result { message Result {
repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 1; uint64 total_count = 1;
repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -40,7 +40,8 @@ message ListSitesRequest {
message ListSitesResponse { message ListSitesResponse {
message Result { message Result {
repeated bet.beteran.site.Site sites = 1; uint64 total_count = 1;
repeated bet.beteran.site.Site sites = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -56,7 +56,8 @@ message ListBettingHistoryRequest {
message ListBettingHistoryResponse { message ListBettingHistoryResponse {
message Result { message Result {
repeated bet.beteran.api.betting.BettingHistory betting_history = 1; uint64 total_count = 1;
repeated bet.beteran.api.betting.BettingHistory betting_history = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -29,7 +29,8 @@ message ListGamesRequest {
message ListGamesResponse { message ListGamesResponse {
message Result { message Result {
repeated bet.beteran.api.game.Game games = 1; uint64 total_count = 1;
repeated bet.beteran.api.game.Game games = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -30,7 +30,8 @@ message ListVendorsRequest {
message ListVendorsResponse { message ListVendorsResponse {
message Result { message Result {
repeated bet.beteran.api.vendor.Vendor vendors = 1; uint64 total_count = 1;
repeated bet.beteran.api.vendor.Vendor vendors = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -48,7 +48,8 @@ message ListBanksRequest {
message ListBanksResponse { message ListBanksResponse {
message Result { message Result {
repeated bet.beteran.bank.Bank banks = 1; uint64 total_count = 1;
repeated bet.beteran.bank.Bank banks = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -101,7 +101,8 @@ message ListMembersRequest {
message ListMembersResponse { message ListMembersResponse {
message Result { message Result {
repeated bet.beteran.member.MemberModel members = 1; uint64 total_count = 1;
repeated bet.beteran.member.MemberModel members = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -49,7 +49,8 @@ message ListMemberBankAccountsRequest {
message ListMemberBankAccountsResponse { message ListMemberBankAccountsResponse {
message Result { message Result {
repeated bet.beteran.member_bank_account.MemberBankAccount member_bank_accounts = 1; uint64 total_count = 1;
repeated bet.beteran.member_bank_account.MemberBankAccount member_bank_accounts = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -47,7 +47,8 @@ message ListMemberBankDepositsRequest {
message ListMemberBankDepositsResponse { message ListMemberBankDepositsResponse {
message Result { message Result {
repeated bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposits = 1; uint64 total_count = 1;
repeated bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposits = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -52,7 +52,8 @@ message ListMemberBankWithdrawsRequest {
message ListMemberBankWithdrawsResponse { message ListMemberBankWithdrawsResponse {
message Result { message Result {
repeated bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraws = 1; uint64 total_count = 1;
repeated bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraws = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -44,7 +44,8 @@ message ListMemberClassesRequest {
message ListMemberClassesResponse { message ListMemberClassesResponse {
message Result { message Result {
repeated bet.beteran.member_class.MemberClass member_classes = 1; uint64 total_count = 1;
repeated bet.beteran.member_class.MemberClass member_classes = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -46,7 +46,8 @@ message ListMemberGameSettingsRequest {
message ListMemberGameSettingsResponse { message ListMemberGameSettingsResponse {
message Result { message Result {
repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 1; uint64 total_count = 1;
repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -43,7 +43,8 @@ message ListMemberLevelsRequest {
message ListMemberLevelsResponse { message ListMemberLevelsResponse {
message Result { message Result {
repeated bet.beteran.member_level.MemberLevel member_levels = 1; uint64 total_count = 1;
repeated bet.beteran.member_level.MemberLevel member_levels = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -62,7 +62,8 @@ message ListMemberReferrersRequest {
message ListMemberReferrersResponse { message ListMemberReferrersResponse {
message Result { message Result {
repeated bet.beteran.member_referrer.MemberReferrerModel member_referrers = 1; uint64 total_count = 1;
repeated bet.beteran.member_referrer.MemberReferrerModel member_referrers = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -60,7 +60,8 @@ message ListMemberSettlementSettingsRequest {
message ListMemberSettlementSettingsResponse { message ListMemberSettlementSettingsResponse {
message Result { message Result {
repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 1; uint64 total_count = 1;
repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;

View File

@ -51,7 +51,8 @@ message ListSitesRequest {
message ListSitesResponse { message ListSitesResponse {
message Result { message Result {
repeated bet.beteran.site.Site sites = 1; uint64 total_count = 1;
repeated bet.beteran.site.Site sites = 2;
} }
optional bet.protobuf.rpc.Error error = 1; optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2; optional Result result = 2;