From 143c0bd7c39085afb1fa8b58f3c6b13763cabceb Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Mon, 5 Sep 2022 14:33:43 +0000 Subject: [PATCH] model is modified --- src/models/api/betting.rs | 64 +++++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/src/models/api/betting.rs b/src/models/api/betting.rs index a7be215..2db82ca 100644 --- a/src/models/api/betting.rs +++ b/src/models/api/betting.rs @@ -22,29 +22,31 @@ pub struct BettingHistory { pub before_cash: f64, #[prost(double, tag = "11")] pub after_cash: f64, - #[prost(string, tag = "12")] - pub key: ::prost::alloc::string::String, - #[prost(string, tag = "13")] - pub ref_id: ::prost::alloc::string::String, - #[prost(string, tag = "14")] - pub o_ref_id: ::prost::alloc::string::String, - #[prost(string, optional, tag = "15")] + #[prost(string, optional, tag = "12")] pub group_key: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, tag = "16")] + #[prost(string, optional, tag = "13")] + pub detail: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, tag = "14")] pub is_bonus: bool, - #[prost(bool, tag = "17")] + #[prost(bool, tag = "15")] pub is_promo: bool, - #[prost(bool, tag = "18")] + #[prost(bool, tag = "16")] pub is_jackpot: bool, - #[prost(string, tag = "19")] + #[prost(string, tag = "17")] pub site_username: ::prost::alloc::string::String, + #[prost(string, tag = "18")] + pub key: ::prost::alloc::string::String, + #[prost(string, tag = "19")] + pub ref_id: ::prost::alloc::string::String, #[prost(string, tag = "20")] - pub betting_type: ::prost::alloc::string::String, + pub o_ref_id: ::prost::alloc::string::String, #[prost(string, tag = "21")] + pub betting_type: ::prost::alloc::string::String, + #[prost(string, tag = "22")] pub category: ::prost::alloc::string::String, - #[prost(uint64, tag = "22")] - pub created_at: u64, #[prost(uint64, tag = "23")] + pub created_at: u64, + #[prost(uint64, tag = "24")] pub utc_created_at: u64, } #[derive(Clone, PartialEq, ::prost::Message)] @@ -71,30 +73,32 @@ pub struct BettingHistoryModel { pub before_cash: f64, #[prost(double, tag = "11")] pub after_cash: f64, - #[prost(string, tag = "12")] - pub key: ::prost::alloc::string::String, - #[prost(string, tag = "13")] - pub ref_id: ::prost::alloc::string::String, - #[prost(string, tag = "14")] - pub o_ref_id: ::prost::alloc::string::String, - #[prost(string, optional, tag = "15")] + #[prost(string, optional, tag = "12")] pub group_key: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, tag = "16")] + #[prost(string, optional, tag = "13")] + pub detail: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, tag = "14")] pub is_bonus: bool, - #[prost(bool, tag = "17")] + #[prost(bool, tag = "15")] pub is_promo: bool, - #[prost(bool, tag = "18")] + #[prost(bool, tag = "16")] pub is_jackpot: bool, - #[prost(string, tag = "19")] + #[prost(string, tag = "17")] pub site_username: ::prost::alloc::string::String, + #[prost(string, tag = "18")] + pub key: ::prost::alloc::string::String, + #[prost(string, tag = "19")] + pub ref_id: ::prost::alloc::string::String, #[prost(string, tag = "20")] - pub betting_type: ::prost::alloc::string::String, + pub o_ref_id: ::prost::alloc::string::String, #[prost(string, tag = "21")] + pub betting_type: ::prost::alloc::string::String, + #[prost(string, tag = "22")] pub category: ::prost::alloc::string::String, - #[prost(uint64, tag = "22")] - pub created_at: u64, #[prost(uint64, tag = "23")] + pub created_at: u64, + #[prost(uint64, tag = "24")] pub utc_created_at: u64, - #[prost(message, optional, tag = "24")] - pub member: ::core::option::Option, + #[prost(message, optional, tag = "25")] + pub member: ::core::option::Option, }