From e1c00ba2a9ad9de99f071b067f5f5e74b22e02c0 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Sun, 14 Aug 2022 02:52:58 +0000 Subject: [PATCH] bug fixed --- src/ss/member_class.rs | 220 +++++++++++++++++++++-------------------- 1 file changed, 111 insertions(+), 109 deletions(-) diff --git a/src/ss/member_class.rs b/src/ss/member_class.rs index be76c87..1eab5ae 100644 --- a/src/ss/member_class.rs +++ b/src/ss/member_class.rs @@ -1,180 +1,182 @@ const SUBJECT: &str = "bet.beteran.ss.member_class"; -pub const SUBJECT_CREATE_MEMBER_CLASS: &str = const_format::concatcp!(SUBJECT, ".CreateMemberClass"); -pub const SUBJECT_LIST_MEMBER_CLASSSES: &str = const_format::concatcp!(SUBJECT, ".ListMemberClasses"); +pub const SUBJECT_CREATE_MEMBER_CLASS: &str = + const_format::concatcp!(SUBJECT, ".CreateMemberClass"); +pub const SUBJECT_LIST_MEMBER_CLASSES: &str = + const_format::concatcp!(SUBJECT, ".ListMemberClasses"); pub const SUBJECT_GET_MEMBER_CLASS: &str = const_format::concatcp!(SUBJECT, ".GetMemberClass"); -pub const SUBJECT_UPDATE_MEMBER_CLASS: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberClass"); -pub const SUBJECT_DELETE_MEMBER_CLASS: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberClass"); - +pub const SUBJECT_UPDATE_MEMBER_CLASS: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberClass"); +pub const SUBJECT_DELETE_MEMBER_CLASS: &str = + const_format::concatcp!(SUBJECT, ".DeleteMemberClass"); /// subject = bet.beteran.ss.member_class.CreateMemberClass #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberClassRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `CreateMemberClassRequest`. pub mod create_member_class_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, optional, tag="1")] - pub parent_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, tag="2")] - pub name: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, optional, tag = "1")] + pub parent_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "2")] + pub name: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberClassResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[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 `CreateMemberClassResponse`. pub mod create_member_class_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_class: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_class: ::core::option::Option, + } } /// subject = bet.beteran.ss.member_class.ListMemberClasses #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberClassesRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `ListMemberClassesRequest`. pub mod list_member_classes_request { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(message, optional, tag = "1")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, + } + /// Nested message and enum types in `Request`. + pub mod request { #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, - } - /// Nested message and enum types in `Request`. - pub mod request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - } + pub struct Search { + #[prost(string, optional, tag = "1")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, } + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberClassesResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[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 `ListMemberClassesResponse`. pub mod list_member_classes_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub member_classes: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, repeated, tag = "1")] + pub member_classes: ::prost::alloc::vec::Vec, + } } /// subject = bet.beteran.ss.member_class.GetMemberClass #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberClassRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `GetMemberClassRequest`. pub mod get_member_class_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberClassResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[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 `GetMemberClassResponse`. pub mod get_member_class_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_class: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_class: ::core::option::Option, + } } /// subject = bet.beteran.ss.member_class.UpdateMemberClass #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberClassRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberClassRequest`. pub mod update_member_class_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, optional, tag="2")] - pub parent_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, optional, tag = "2")] + pub parent_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberClassResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[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 `UpdateMemberClassResponse`. pub mod update_member_class_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_class: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_class: ::core::option::Option, + } } /// subject = bet.beteran.ss.member_class.DeleteMemberClass #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberClassRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `DeleteMemberClassRequest`. pub mod delete_member_class_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberClassResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[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 `DeleteMemberClassResponse`. pub mod delete_member_class_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} }