models are modified

This commit is contained in:
병준 박 2022-09-01 08:05:55 +00:00
parent f609797fc2
commit dcc2798010
4 changed files with 34 additions and 38 deletions

View File

@ -140,20 +140,28 @@ pub mod list_members_request {
#[prost(string, optional, tag = "4")] #[prost(string, optional, tag = "4")]
pub parent_member_id: ::core::option::Option<::prost::alloc::string::String>, pub parent_member_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "5")] #[prost(string, optional, tag = "5")]
pub username_like: ::core::option::Option<::prost::alloc::string::String>, pub username: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "6")] #[prost(string, repeated, tag = "6")]
pub nickname_like: ::core::option::Option<::prost::alloc::string::String>, pub usernames: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, optional, tag = "7")] #[prost(string, optional, tag = "7")]
pub mobile_phone_number_like: ::core::option::Option<::prost::alloc::string::String>, pub username_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "8")] #[prost(string, optional, tag = "8")]
pub nickname: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, repeated, tag = "9")]
pub nicknames: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, optional, tag = "10")]
pub nickname_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "11")]
pub mobile_phone_number_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "12")]
pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>,
#[prost( #[prost(
enumeration = "crate::models::member::MemberState", enumeration = "crate::models::member::MemberState",
optional, optional,
tag = "9" tag = "13"
)] )]
pub state: ::core::option::Option<i32>, pub state: ::core::option::Option<i32>,
#[prost(uint64, optional, tag = "10")] #[prost(uint64, optional, tag = "14")]
pub deleted_at: ::core::option::Option<u64>, pub deleted_at: ::core::option::Option<u64>,
} }
} }

View File

@ -96,23 +96,5 @@ pub struct BettingHistoryModel {
#[prost(uint64, tag = "23")] #[prost(uint64, tag = "23")]
pub utc_created_at: u64, pub utc_created_at: u64,
#[prost(message, optional, tag = "24")] #[prost(message, optional, tag = "24")]
pub member: ::core::option::Option<betting_history_model::Member>, pub member: ::core::option::Option<super::super::member::MemberModel>,
}
/// Nested message and enum types in `BettingHistoryModel`.
pub mod betting_history_model {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Member {
#[prost(string, tag = "1")]
pub site_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub member_class_id: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub member_level_id: ::prost::alloc::string::String,
#[prost(string, optional, tag = "4")]
pub parent_member_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, tag = "5")]
pub nickname: ::prost::alloc::string::String,
#[prost(string, optional, tag = "6")]
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
}
} }

View File

@ -105,6 +105,6 @@ pub mod list_betting_history_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, repeated, tag = "1")] #[prost(message, repeated, tag = "1")]
pub betting_history: ::prost::alloc::vec::Vec<crate::models::api::betting::BettingHistoryModel>, pub betting_history: ::prost::alloc::vec::Vec<crate::models::api::betting::BettingHistory>,
} }
} }

View File

@ -46,15 +46,13 @@ pub mod create_member_request {
pub password: ::prost::alloc::string::String, pub password: ::prost::alloc::string::String,
#[prost(string, tag = "7")] #[prost(string, tag = "7")]
pub nickname: ::prost::alloc::string::String, pub nickname: ::prost::alloc::string::String,
#[prost(enumeration = "crate::models::member::MemberState", tag = "8")] #[prost(string, optional, tag = "8")]
pub state: i32,
#[prost(string, optional, tag = "9")]
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "10")] #[prost(message, optional, tag = "9")]
pub bank_account: ::core::option::Option<request::BankAccount>, pub bank_account: ::core::option::Option<request::BankAccount>,
#[prost(message, optional, tag = "11")] #[prost(message, optional, tag = "10")]
pub game_setting: ::core::option::Option<request::GameSetting>, pub game_setting: ::core::option::Option<request::GameSetting>,
#[prost(message, optional, tag = "12")] #[prost(message, optional, tag = "11")]
pub settlement_setting: ::core::option::Option<request::SettlementSetting>, pub settlement_setting: ::core::option::Option<request::SettlementSetting>,
} }
/// Nested message and enum types in `Request`. /// Nested message and enum types in `Request`.
@ -183,20 +181,28 @@ pub mod list_members_request {
#[prost(string, optional, tag = "4")] #[prost(string, optional, tag = "4")]
pub parent_member_id: ::core::option::Option<::prost::alloc::string::String>, pub parent_member_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "5")] #[prost(string, optional, tag = "5")]
pub username_like: ::core::option::Option<::prost::alloc::string::String>, pub username: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "6")] #[prost(string, repeated, tag = "6")]
pub nickname_like: ::core::option::Option<::prost::alloc::string::String>, pub usernames: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, optional, tag = "7")] #[prost(string, optional, tag = "7")]
pub mobile_phone_number_like: ::core::option::Option<::prost::alloc::string::String>, pub username_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "8")] #[prost(string, optional, tag = "8")]
pub nickname: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, repeated, tag = "9")]
pub nicknames: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, optional, tag = "10")]
pub nickname_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "11")]
pub mobile_phone_number_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "12")]
pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>,
#[prost( #[prost(
enumeration = "crate::models::member::MemberState", enumeration = "crate::models::member::MemberState",
optional, optional,
tag = "9" tag = "13"
)] )]
pub state: ::core::option::Option<i32>, pub state: ::core::option::Option<i32>,
#[prost(uint64, optional, tag = "10")] #[prost(uint64, optional, tag = "14")]
pub deleted_at: ::core::option::Option<u64>, pub deleted_at: ::core::option::Option<u64>,
} }
} }