From fec6549ebc0122c105bca3f7fbed4aa45d2c5c6d Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Wed, 31 Aug 2022 13:36:21 +0000 Subject: [PATCH] model is modified --- src/models/api/betting.rs | 58 +++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/src/models/api/betting.rs b/src/models/api/betting.rs index 6602f80..1a1f63b 100644 --- a/src/models/api/betting.rs +++ b/src/models/api/betting.rs @@ -51,50 +51,60 @@ pub struct BettingHistory { pub struct BettingHistoryModel { #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, - #[prost(message, optional, tag = "2")] - pub member: ::core::option::Option, - #[prost(uint64, tag = "3")] + #[prost(uint64, tag = "2")] pub vendor_id: u64, - #[prost(string, tag = "4")] + #[prost(string, tag = "3")] pub vendor_name: ::prost::alloc::string::String, - #[prost(uint64, tag = "5")] + #[prost(uint64, tag = "4")] pub game_id: u64, - #[prost(string, tag = "6")] + #[prost(string, tag = "5")] pub game_name: ::prost::alloc::string::String, - #[prost(string, tag = "7")] + #[prost(string, tag = "6")] pub game_category: ::prost::alloc::string::String, - #[prost(string, tag = "8")] + #[prost(string, tag = "7")] pub game_type: ::prost::alloc::string::String, - #[prost(string, tag = "9")] + #[prost(string, tag = "8")] pub currency: ::prost::alloc::string::String, - #[prost(double, tag = "10")] + #[prost(double, tag = "9")] pub cash: f64, - #[prost(double, tag = "11")] + #[prost(double, tag = "10")] pub before_cash: f64, - #[prost(double, tag = "12")] + #[prost(double, tag = "11")] pub after_cash: f64, - #[prost(string, tag = "13")] + #[prost(string, tag = "12")] pub key: ::prost::alloc::string::String, - #[prost(string, tag = "14")] + #[prost(string, tag = "13")] pub ref_id: ::prost::alloc::string::String, - #[prost(string, tag = "15")] + #[prost(string, tag = "14")] pub o_ref_id: ::prost::alloc::string::String, - #[prost(string, optional, tag = "16")] + #[prost(string, optional, tag = "15")] pub group_key: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, tag = "17")] + #[prost(bool, tag = "16")] pub is_bonus: bool, - #[prost(bool, tag = "18")] + #[prost(bool, tag = "17")] pub is_promo: bool, - #[prost(bool, tag = "19")] + #[prost(bool, tag = "18")] pub is_jackpot: bool, - #[prost(string, tag = "20")] + #[prost(string, tag = "19")] pub site_username: ::prost::alloc::string::String, - #[prost(string, tag = "21")] + #[prost(string, tag = "20")] pub betting_type: ::prost::alloc::string::String, - #[prost(string, tag = "22")] + #[prost(string, tag = "21")] pub category: ::prost::alloc::string::String, - #[prost(uint64, tag = "23")] + #[prost(uint64, tag = "22")] pub created_at: u64, - #[prost(uint64, tag = "24")] + #[prost(uint64, tag = "23")] pub utc_created_at: u64, + #[prost(string, tag = "24")] + pub m_site_id: ::prost::alloc::string::String, + #[prost(string, tag = "25")] + pub m_member_class_id: ::prost::alloc::string::String, + #[prost(string, tag = "26")] + pub m_member_level_id: ::prost::alloc::string::String, + #[prost(string, optional, tag = "27")] + pub m_parent_member_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "28")] + pub m_nickname: ::prost::alloc::string::String, + #[prost(string, optional, tag = "29")] + pub m_mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, }