From 8aa5fade352131830f655960cad77d2305cd57ac Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Fri, 16 Sep 2022 10:29:28 +0000 Subject: [PATCH] member model is modified --- src/models/member.rs | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/models/member.rs b/src/models/member.rs index 9695c9a..b95e6e1 100644 --- a/src/models/member.rs +++ b/src/models/member.rs @@ -49,30 +49,32 @@ pub struct MemberModel { pub parent_member: ::core::option::Option<::prost::alloc::boxed::Box>, #[prost(uint64, tag = "7")] pub child_member_count: u64, - #[prost(string, tag = "8")] - pub username: ::prost::alloc::string::String, + #[prost(uint64, repeated, tag = "8")] + pub children_count: ::prost::alloc::vec::Vec, #[prost(string, tag = "9")] + pub username: ::prost::alloc::string::String, + #[prost(string, tag = "10")] pub nickname: ::prost::alloc::string::String, - #[prost(string, optional, tag = "10")] + #[prost(string, optional, tag = "11")] pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, - #[prost(enumeration = "MemberState", tag = "11")] + #[prost(enumeration = "MemberState", tag = "12")] pub state: i32, - #[prost(uint64, optional, tag = "12")] + #[prost(uint64, optional, tag = "13")] 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_game_setting: ::core::option::Option, + #[prost(message, optional, tag = "15")] pub member_settlement_setting: ::core::option::Option, - #[prost(string, optional, tag = "15")] + #[prost(string, optional, tag = "16")] pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, optional, tag = "16")] + #[prost(uint64, optional, tag = "17")] pub last_signined_at: ::core::option::Option, - #[prost(uint64, tag = "17")] - pub created_at: u64, #[prost(uint64, tag = "18")] + pub created_at: u64, + #[prost(uint64, tag = "19")] pub updated_at: u64, - #[prost(uint64, optional, tag = "19")] + #[prost(uint64, optional, tag = "20")] pub deleted_at: ::core::option::Option, } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]