From 4480475917bd34227195efda9de65546a881b7e0 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Fri, 12 Aug 2022 06:51:15 +0000 Subject: [PATCH] bug fixed --- src/ss/member/member.rs | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/ss/member/member.rs b/src/ss/member/member.rs index 9178763..723b9e2 100644 --- a/src/ss/member/member.rs +++ b/src/ss/member/member.rs @@ -6,6 +6,47 @@ use crate::models::member; const SUBJECT: &str = "bet.beteran.ss.member"; +pub const SUBJECT_CREATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".CreateMember"); +/// subject = bet.beteran.ss.member.CreateMember +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateMemberRequest { + #[prost(message, optional, tag="1")] + pub client: ::core::option::Option, + #[prost(string, tag="2")] + pub site_id: ::prost::alloc::string::String, + #[prost(string, tag="3")] + pub member_class_id: ::prost::alloc::string::String, + #[prost(string, tag="4")] + pub member_level_id: ::prost::alloc::string::String, + #[prost(string, optional, tag="5")] + pub referrer_member_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag="6")] + pub username: ::prost::alloc::string::String, + #[prost(string, tag="7")] + pub nickname: ::prost::alloc::string::String, + #[prost(string, optional, tag="8")] + pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, + #[prost(enumeration="member::MemberState", tag="9")] + pub state: i32, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateMemberResponse { + #[prost(message, optional, tag="1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub result: ::core::option::Option, +} +/// Nested message and enum types in `CreateMemberResponse`. +pub mod create_member_response { + use crate::models::member; + + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag="1")] + pub member: ::core::option::Option, + } +} + pub const SUBJECT_LIST_MEMBERS: &str = const_format::concatcp!(SUBJECT, ".ListMembers"); /// subject = bet.beteran.ss.member.ListMembers #[derive(Clone, PartialEq, ::prost::Message)]