models are modified

This commit is contained in:
병준 박 2022-09-01 17:17:02 +00:00
parent 799fff847d
commit 7ffd576edb
31 changed files with 517 additions and 470 deletions

View File

@ -88,7 +88,9 @@ pub struct ListBettingHistoryResponse {
pub mod list_betting_history_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub betting_history: ::prost::alloc::vec::Vec<crate::models::api::betting::BettingHistoryModel>,
}
}

View File

@ -34,7 +34,9 @@ pub struct ListGamesResponse {
pub mod list_games_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub games: ::prost::alloc::vec::Vec<crate::models::api::game::Game>,
}
}

View File

@ -36,7 +36,9 @@ pub struct ListVendorsResponse {
pub mod list_vendors_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub vendors: ::prost::alloc::vec::Vec<crate::models::api::vendor::Vendor>,
}
}

View File

@ -60,7 +60,9 @@ pub struct ListBanksResponse {
pub mod list_banks_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag="1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub banks: ::prost::alloc::vec::Vec<crate::models::bank::Bank>,
}
}
@ -129,6 +131,5 @@ pub struct DeleteBankResponse {
/// Nested message and enum types in `DeleteBankResponse`.
pub mod delete_bank_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
}
pub struct Result {}
}

View File

@ -83,7 +83,6 @@ pub mod signin_response {
pub access_token: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninWithoutSecurityCodeRequest {
#[prost(string, tag = "1")]

View File

@ -176,7 +176,9 @@ pub struct ListMembersResponse {
pub mod list_members_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub members: ::prost::alloc::vec::Vec<crate::models::member::MemberModel>,
}
}

View File

@ -65,7 +65,9 @@ pub struct ListMemberBankAccountsResponse {
pub mod list_member_bank_accounts_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_bank_accounts:
::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
}

View File

@ -63,7 +63,9 @@ pub struct ListMemberBankDepositsResponse {
pub mod list_member_bank_deposits_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_bank_deposits:
::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDepositModel>,
}

View File

@ -73,7 +73,9 @@ pub struct ListMemberBankWithdrawsResponse {
pub mod list_member_bank_withdraws_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_bank_withdraws:
::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdrawModel>,
}

View File

@ -52,7 +52,9 @@ pub struct ListMemberClassesResponse {
pub mod list_member_classes_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_classes: ::prost::alloc::vec::Vec<crate::models::member_class::MemberClass>,
}
}

View File

@ -59,7 +59,9 @@ pub struct ListMemberGameSettingsResponse {
pub mod list_member_game_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_game_settings:
::prost::alloc::vec::Vec<crate::models::member_game_setting::MemberGameSetting>,
}

View File

@ -52,7 +52,9 @@ pub struct ListMemberLevelsResponse {
pub mod list_member_levels_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_levels: ::prost::alloc::vec::Vec<crate::models::member_level::MemberLevel>,
}
}

View File

@ -72,7 +72,9 @@ pub struct ListMemberReferrersResponse {
pub mod list_member_referrers_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_referrers:
::prost::alloc::vec::Vec<crate::models::member_referrer::MemberReferrerModel>,
}

View File

@ -93,7 +93,9 @@ pub struct ListMemberSettlementSettingsResponse {
pub mod list_member_settlement_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_settlement_settings:
::prost::alloc::vec::Vec<crate::models::member_settlement_setting::MemberSettlementSetting>,
}

View File

@ -68,7 +68,9 @@ pub struct ListSitesResponse {
pub mod list_sites_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag="1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub sites: ::prost::alloc::vec::Vec<crate::models::site::Site>,
}
}
@ -141,6 +143,5 @@ pub struct DeleteSiteResponse {
/// Nested message and enum types in `DeleteSiteResponse`.
pub mod delete_site_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
}
pub struct Result {}
}

View File

@ -96,5 +96,5 @@ pub struct BettingHistoryModel {
#[prost(uint64, tag = "23")]
pub utc_created_at: u64,
#[prost(message, optional, tag = "24")]
pub member: ::core::option::Option<super::super::member::MemberModel>,
pub member: ::core::option::Option<crate::models::member::MemberModel>,
}

View File

@ -104,7 +104,9 @@ pub struct ListBettingHistoryResponse {
pub mod list_betting_history_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub betting_history: ::prost::alloc::vec::Vec<crate::models::api::betting::BettingHistory>,
}
}

View File

@ -50,7 +50,9 @@ pub struct ListGamesResponse {
pub mod list_games_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub games: ::prost::alloc::vec::Vec<crate::models::api::game::Game>,
}
}

View File

@ -51,7 +51,9 @@ pub struct ListVendorsResponse {
pub mod list_vendors_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub vendors: ::prost::alloc::vec::Vec<crate::models::api::vendor::Vendor>,
}
}

View File

@ -6,7 +6,6 @@ pub const SUBJECT_GET_BANK: &str = const_format::concatcp!(SUBJECT, ".GetBank");
pub const SUBJECT_UPDATE_BANK: &str = const_format::concatcp!(SUBJECT, ".UpdateBank");
pub const SUBJECT_DELETE_BANK: &str = const_format::concatcp!(SUBJECT, ".DeleteBank");
/// subject = bet.beteran.ss.bank.CreateBank;
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateBankRequest {
@ -91,7 +90,9 @@ pub struct ListBanksResponse {
pub mod list_banks_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag="1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub banks: ::prost::alloc::vec::Vec<crate::models::bank::Bank>,
}
}
@ -193,6 +194,5 @@ pub struct DeleteBankResponse {
/// Nested message and enum types in `DeleteBankResponse`.
pub mod delete_bank_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
}
pub struct Result {}
}

View File

@ -143,7 +143,6 @@ pub mod signin_response {
pub access_token: ::prost::alloc::string::String,
}
}
/// subject = bet.beteran.ss.identity.SigninWithoutSecurityCode
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninWithoutSecurityCodeRequest {
@ -193,7 +192,6 @@ pub mod after_signin_event {
pub member: ::core::option::Option<crate::models::member::Member>,
}
}
/// subject = bet.beteran.ss_event.identity.AfterSignout
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AfterSignoutEvent {

View File

@ -220,7 +220,9 @@ pub struct ListMembersResponse {
pub mod list_members_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub members: ::prost::alloc::vec::Vec<crate::models::member::MemberModel>,
}
}

View File

@ -102,7 +102,9 @@ pub struct ListMemberBankAccountsResponse {
pub mod list_member_bank_accounts_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_bank_accounts:
::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
}

View File

@ -106,7 +106,9 @@ pub struct ListMemberBankDepositsResponse {
pub mod list_member_bank_deposits_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_bank_deposits:
::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDepositModel>,
}

View File

@ -116,7 +116,9 @@ pub struct ListMemberBankWithdrawsResponse {
pub mod list_member_bank_withdraws_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_bank_withdraws:
::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdrawModel>,
}

View File

@ -86,7 +86,9 @@ pub struct ListMemberClassesResponse {
pub mod list_member_classes_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_classes: ::prost::alloc::vec::Vec<crate::models::member_class::MemberClass>,
}
}

View File

@ -94,7 +94,9 @@ pub struct ListMemberGameSettingsResponse {
pub mod list_member_game_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_game_settings:
::prost::alloc::vec::Vec<crate::models::member_game_setting::MemberGameSetting>,
}

View File

@ -85,7 +85,9 @@ pub struct ListMemberLevelsResponse {
pub mod list_member_levels_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_levels: ::prost::alloc::vec::Vec<crate::models::member_level::MemberLevel>,
}
}

View File

@ -125,7 +125,9 @@ pub struct ListMemberReferrersResponse {
pub mod list_member_referrers_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_referrers:
::prost::alloc::vec::Vec<crate::models::member_referrer::MemberReferrerModel>,
}

View File

@ -128,7 +128,9 @@ pub struct ListMemberSettlementSettingsResponse {
pub mod list_member_settlement_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_settlement_settings:
::prost::alloc::vec::Vec<crate::models::member_settlement_setting::MemberSettlementSetting>,
}

View File

@ -6,7 +6,6 @@ pub const SUBJECT_GET_SITE: &str = const_format::concatcp!(SUBJECT, ".GetSite");
pub const SUBJECT_UPDATE_SITE: &str = const_format::concatcp!(SUBJECT, ".UpdateSite");
pub const SUBJECT_DELETE_SITE: &str = const_format::concatcp!(SUBJECT, ".DeleteSite");
/// subject = bet.beteran.ss.site.CreateSite;
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateSiteRequest {
@ -99,7 +98,9 @@ pub struct ListSitesResponse {
pub mod list_sites_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag="1")]
#[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub sites: ::prost::alloc::vec::Vec<crate::models::site::Site>,
}
}
@ -205,6 +206,5 @@ pub struct DeleteSiteResponse {
/// Nested message and enum types in `DeleteSiteResponse`.
pub mod delete_site_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
}
pub struct Result {}
}