From a2f8a2ea09ef273ac6a8002bc182b1a264f783f1 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Sun, 14 Aug 2022 02:59:14 +0000 Subject: [PATCH] bug fixed --- src/c2se/backend/member_level.rs | 11 +- src/ss/member_level.rs | 219 ++++++++++++++++--------------- 2 files changed, 117 insertions(+), 113 deletions(-) diff --git a/src/c2se/backend/member_level.rs b/src/c2se/backend/member_level.rs index 0247c4a..316c09f 100644 --- a/src/c2se/backend/member_level.rs +++ b/src/c2se/backend/member_level.rs @@ -1,7 +1,10 @@ const SUBJECT: &str = "bet.beteran.c2se.backend.member_level"; -pub const SUBJECT_CREATE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".CreateMemberLevel"); -pub const SUBJECT_LIST_MEMBER_LEVELSS: &str = const_format::concatcp!(SUBJECT, ".ListMemberLevels"); +pub const SUBJECT_CREATE_MEMBER_LEVEL: &str = + const_format::concatcp!(SUBJECT, ".CreateMemberLevel"); +pub const SUBJECT_LIST_MEMBER_LEVELS: &str = const_format::concatcp!(SUBJECT, ".ListMemberLevels"); pub const SUBJECT_GET_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".GetMemberLevel"); -pub const SUBJECT_UPDATE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberLevel"); -pub const SUBJECT_DELETE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberLevel"); +pub const SUBJECT_UPDATE_MEMBER_LEVEL: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberLevel"); +pub const SUBJECT_DELETE_MEMBER_LEVEL: &str = + const_format::concatcp!(SUBJECT, ".DeleteMemberLevel"); diff --git a/src/ss/member_level.rs b/src/ss/member_level.rs index b011b50..55c9e8d 100644 --- a/src/ss/member_level.rs +++ b/src/ss/member_level.rs @@ -1,180 +1,181 @@ const SUBJECT: &str = "bet.beteran.ss.member_level"; -pub const SUBJECT_CREATE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".CreateMemberLevel"); -pub const SUBJECT_LIST_MEMBER_LEVELSS: &str = const_format::concatcp!(SUBJECT, ".ListMemberLevels"); +pub const SUBJECT_CREATE_MEMBER_LEVEL: &str = + const_format::concatcp!(SUBJECT, ".CreateMemberLevel"); +pub const SUBJECT_LIST_MEMBER_LEVELS: &str = const_format::concatcp!(SUBJECT, ".ListMemberLevels"); pub const SUBJECT_GET_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".GetMemberLevel"); -pub const SUBJECT_UPDATE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberLevel"); -pub const SUBJECT_DELETE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberLevel"); - +pub const SUBJECT_UPDATE_MEMBER_LEVEL: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberLevel"); +pub const SUBJECT_DELETE_MEMBER_LEVEL: &str = + const_format::concatcp!(SUBJECT, ".DeleteMemberLevel"); /// subject = bet.beteran.ss.member_level.CreateMemberLevel #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberLevelRequest { - #[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 `CreateMemberLevelRequest`. pub mod create_member_level_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="2")] - pub sort_order: u32, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "2")] + pub sort_order: u32, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberLevelResponse { - #[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 `CreateMemberLevelResponse`. pub mod create_member_level_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_level: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_level: ::core::option::Option, + } } /// subject = bet.beteran.ss.member_level.ListMemberLevels #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberLevelsRequest { - #[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 `ListMemberLevelsRequest`. pub mod list_member_levels_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 ListMemberLevelsResponse { - #[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 `ListMemberLevelsResponse`. pub mod list_member_levels_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub member_levels: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, repeated, tag = "1")] + pub member_levels: ::prost::alloc::vec::Vec, + } } /// subject = bet.beteran.ss.member_level.GetMemberLevel #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberLevelRequest { - #[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 `GetMemberLevelRequest`. pub mod get_member_level_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 GetMemberLevelResponse { - #[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 `GetMemberLevelResponse`. pub mod get_member_level_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_level: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_level: ::core::option::Option, + } } /// subject = bet.beteran.ss.member_level.UpdateMemberLevel #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberLevelRequest { - #[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 `UpdateMemberLevelRequest`. pub mod update_member_level_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="3")] - pub sort_order: u32, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "3")] + pub sort_order: u32, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberLevelResponse { - #[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 `UpdateMemberLevelResponse`. pub mod update_member_level_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_level: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_level: ::core::option::Option, + } } /// subject = bet.beteran.ss.member_level.DeleteMemberLevel #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberLevelRequest { - #[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 `DeleteMemberLevelRequest`. pub mod delete_member_level_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 DeleteMemberLevelResponse { - #[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 `DeleteMemberLevelResponse`. pub mod delete_member_level_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} }