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 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 Result result = 2;

View File

@ -23,7 +23,8 @@ message ListGamesRequest {
message ListGamesResponse {
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 Result result = 2;

View File

@ -24,7 +24,8 @@ message ListVendorsRequest {
message ListVendorsResponse {
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 Result result = 2;

View File

@ -36,7 +36,8 @@ message ListBanksRequest {
message ListBanksResponse {
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 Result result = 2;

View File

@ -91,7 +91,8 @@ message ListMembersRequest {
message ListMembersResponse {
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 Result result = 2;

View File

@ -39,7 +39,8 @@ message ListMemberBankAccountsRequest {
message ListMemberBankAccountsResponse {
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 Result result = 2;

View File

@ -36,7 +36,8 @@ message ListMemberBankDepositsRequest {
message ListMemberBankDepositsResponse {
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 Result result = 2;

View File

@ -41,7 +41,8 @@ message ListMemberBankWithdrawsRequest {
message ListMemberBankWithdrawsResponse {
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 Result result = 2;

View File

@ -32,7 +32,8 @@ message ListMemberClassesRequest {
message ListMemberClassesResponse {
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 Result result = 2;

View File

@ -36,7 +36,8 @@ message ListMemberGameSettingsRequest {
message ListMemberGameSettingsResponse {
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 Result result = 2;

View File

@ -32,7 +32,8 @@ message ListMemberLevelsRequest {
message ListMemberLevelsResponse {
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 Result result = 2;

View File

@ -43,7 +43,8 @@ message ListMemberReferrersRequest {
message ListMemberReferrersResponse {
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 Result result = 2;

View File

@ -50,7 +50,8 @@ message ListMemberSettlementSettingsRequest {
message ListMemberSettlementSettingsResponse {
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 Result result = 2;

View File

@ -40,7 +40,8 @@ message ListSitesRequest {
message ListSitesResponse {
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 Result result = 2;

View File

@ -56,7 +56,8 @@ message ListBettingHistoryRequest {
message ListBettingHistoryResponse {
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 Result result = 2;

View File

@ -29,7 +29,8 @@ message ListGamesRequest {
message ListGamesResponse {
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 Result result = 2;

View File

@ -30,7 +30,8 @@ message ListVendorsRequest {
message ListVendorsResponse {
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 Result result = 2;

View File

@ -48,7 +48,8 @@ message ListBanksRequest {
message ListBanksResponse {
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 Result result = 2;

View File

@ -101,7 +101,8 @@ message ListMembersRequest {
message ListMembersResponse {
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 Result result = 2;

View File

@ -49,7 +49,8 @@ message ListMemberBankAccountsRequest {
message ListMemberBankAccountsResponse {
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 Result result = 2;

View File

@ -47,7 +47,8 @@ message ListMemberBankDepositsRequest {
message ListMemberBankDepositsResponse {
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 Result result = 2;

View File

@ -52,7 +52,8 @@ message ListMemberBankWithdrawsRequest {
message ListMemberBankWithdrawsResponse {
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 Result result = 2;

View File

@ -44,7 +44,8 @@ message ListMemberClassesRequest {
message ListMemberClassesResponse {
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 Result result = 2;

View File

@ -46,7 +46,8 @@ message ListMemberGameSettingsRequest {
message ListMemberGameSettingsResponse {
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 Result result = 2;

View File

@ -43,7 +43,8 @@ message ListMemberLevelsRequest {
message ListMemberLevelsResponse {
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 Result result = 2;

View File

@ -62,7 +62,8 @@ message ListMemberReferrersRequest {
message ListMemberReferrersResponse {
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 Result result = 2;

View File

@ -60,7 +60,8 @@ message ListMemberSettlementSettingsRequest {
message ListMemberSettlementSettingsResponse {
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 Result result = 2;

View File

@ -51,7 +51,8 @@ message ListSitesRequest {
message ListSitesResponse {
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 Result result = 2;