diff --git a/src/models/member.rs b/src/models/member.rs index fa3fb2a..9695c9a 100644 --- a/src/models/member.rs +++ b/src/models/member.rs @@ -34,48 +34,6 @@ pub struct Member { pub deleted_at: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ParentMemberModel { - #[prost(string, tag = "1")] - pub id: ::prost::alloc::string::String, - #[prost(message, optional, tag = "2")] - pub site: ::core::option::Option, - #[prost(message, optional, tag = "3")] - pub member_class: ::core::option::Option, - #[prost(message, optional, tag = "4")] - pub member_level: ::core::option::Option, - #[prost(message, optional, tag = "5")] - pub bank_account: ::core::option::Option, - #[prost(string, optional, tag = "6")] - pub parent_member_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, tag = "7")] - pub child_member_count: u64, - #[prost(string, tag = "8")] - pub username: ::prost::alloc::string::String, - #[prost(string, tag = "9")] - pub nickname: ::prost::alloc::string::String, - #[prost(string, optional, tag = "10")] - pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, - #[prost(enumeration = "MemberState", tag = "11")] - pub state: i32, - #[prost(uint64, optional, tag = "12")] - pub state_changed_at: ::core::option::Option, - #[prost(message, optional, tag = "13")] - pub member_game_setting: ::core::option::Option, - #[prost(message, optional, tag = "14")] - pub member_settlement_setting: - ::core::option::Option, - #[prost(string, optional, tag = "15")] - pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, optional, tag = "16")] - pub last_signined_at: ::core::option::Option, - #[prost(uint64, tag = "17")] - pub created_at: u64, - #[prost(uint64, tag = "18")] - pub updated_at: u64, - #[prost(uint64, optional, tag = "19")] - pub deleted_at: ::core::option::Option, -} -#[derive(Clone, PartialEq, ::prost::Message)] pub struct MemberModel { #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, @@ -87,8 +45,8 @@ pub struct MemberModel { pub member_level: ::core::option::Option, #[prost(message, optional, tag = "5")] pub bank_account: ::core::option::Option, - #[prost(message, optional, tag = "6")] - pub parent_member: ::core::option::Option, + #[prost(message, optional, boxed, tag = "6")] + pub parent_member: ::core::option::Option<::prost::alloc::boxed::Box>, #[prost(uint64, tag = "7")] pub child_member_count: u64, #[prost(string, tag = "8")]