From 5065542ce698fdc9b20937bc18f0469fef0ae485 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Thu, 1 Sep 2022 08:25:39 +0000 Subject: [PATCH] model is modified --- src/models/member.rs | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/src/models/member.rs b/src/models/member.rs index 1a39832..d2273e5 100644 --- a/src/models/member.rs +++ b/src/models/member.rs @@ -34,7 +34,7 @@ pub struct Member { pub deleted_at: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] -pub struct MemberModel { +pub struct ParentMemberModel { #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, #[prost(message, optional, tag = "2")] @@ -75,6 +75,48 @@ pub struct MemberModel { #[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, + #[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(message, optional, tag = "6")] + pub parent_member: ::core::option::Option, + #[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, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MemberState {