bug fixed

This commit is contained in:
병준 박 2022-08-14 02:59:14 +00:00
parent e1c00ba2a9
commit a2f8a2ea09
2 changed files with 117 additions and 113 deletions

View File

@ -1,7 +1,10 @@
const SUBJECT: &str = "bet.beteran.c2se.backend.member_level"; const SUBJECT: &str = "bet.beteran.c2se.backend.member_level";
pub const SUBJECT_CREATE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".CreateMemberLevel"); pub const SUBJECT_CREATE_MEMBER_LEVEL: &str =
pub const SUBJECT_LIST_MEMBER_LEVELSS: &str = const_format::concatcp!(SUBJECT, ".ListMemberLevels"); 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_GET_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".GetMemberLevel");
pub const SUBJECT_UPDATE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberLevel"); pub const SUBJECT_UPDATE_MEMBER_LEVEL: &str =
pub const SUBJECT_DELETE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberLevel"); const_format::concatcp!(SUBJECT, ".UpdateMemberLevel");
pub const SUBJECT_DELETE_MEMBER_LEVEL: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberLevel");

View File

@ -1,180 +1,181 @@
const SUBJECT: &str = "bet.beteran.ss.member_level"; const SUBJECT: &str = "bet.beteran.ss.member_level";
pub const SUBJECT_CREATE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".CreateMemberLevel"); pub const SUBJECT_CREATE_MEMBER_LEVEL: &str =
pub const SUBJECT_LIST_MEMBER_LEVELSS: &str = const_format::concatcp!(SUBJECT, ".ListMemberLevels"); 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_GET_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".GetMemberLevel");
pub const SUBJECT_UPDATE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberLevel"); pub const SUBJECT_UPDATE_MEMBER_LEVEL: &str =
pub const SUBJECT_DELETE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberLevel"); const_format::concatcp!(SUBJECT, ".UpdateMemberLevel");
pub const SUBJECT_DELETE_MEMBER_LEVEL: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberLevel");
/// subject = bet.beteran.ss.member_level.CreateMemberLevel /// subject = bet.beteran.ss.member_level.CreateMemberLevel
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberLevelRequest { pub struct CreateMemberLevelRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<create_member_level_request::Request>, pub request: ::core::option::Option<create_member_level_request::Request>,
} }
/// Nested message and enum types in `CreateMemberLevelRequest`. /// Nested message and enum types in `CreateMemberLevelRequest`.
pub mod create_member_level_request { pub mod create_member_level_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="2")] #[prost(uint32, tag = "2")]
pub sort_order: u32, pub sort_order: u32,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberLevelResponse { pub struct CreateMemberLevelResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<create_member_level_response::Result>, pub result: ::core::option::Option<create_member_level_response::Result>,
} }
/// Nested message and enum types in `CreateMemberLevelResponse`. /// Nested message and enum types in `CreateMemberLevelResponse`.
pub mod create_member_level_response { pub mod create_member_level_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub member_level: ::core::option::Option<crate::models::member_level::MemberLevel>, pub member_level: ::core::option::Option<crate::models::member_level::MemberLevel>,
} }
} }
/// subject = bet.beteran.ss.member_level.ListMemberLevels /// subject = bet.beteran.ss.member_level.ListMemberLevels
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberLevelsRequest { pub struct ListMemberLevelsRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<list_member_levels_request::Request>, pub request: ::core::option::Option<list_member_levels_request::Request>,
} }
/// Nested message and enum types in `ListMemberLevelsRequest`. /// Nested message and enum types in `ListMemberLevelsRequest`.
pub mod list_member_levels_request { pub mod list_member_levels_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<request::Search>,
}
/// Nested message and enum types in `Request`.
pub mod request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Search {
#[prost(message, optional, tag="1")] #[prost(string, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, repeated, tag="2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag="3")]
pub search: ::core::option::Option<request::Search>,
}
/// 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>,
}
} }
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberLevelsResponse { pub struct ListMemberLevelsResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<list_member_levels_response::Result>, pub result: ::core::option::Option<list_member_levels_response::Result>,
} }
/// Nested message and enum types in `ListMemberLevelsResponse`. /// Nested message and enum types in `ListMemberLevelsResponse`.
pub mod list_member_levels_response { pub mod list_member_levels_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, repeated, tag="1")] #[prost(message, repeated, tag = "1")]
pub member_levels: ::prost::alloc::vec::Vec<crate::models::member_level::MemberLevel>, pub member_levels: ::prost::alloc::vec::Vec<crate::models::member_level::MemberLevel>,
} }
} }
/// subject = bet.beteran.ss.member_level.GetMemberLevel /// subject = bet.beteran.ss.member_level.GetMemberLevel
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberLevelRequest { pub struct GetMemberLevelRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<get_member_level_request::Request>, pub request: ::core::option::Option<get_member_level_request::Request>,
} }
/// Nested message and enum types in `GetMemberLevelRequest`. /// Nested message and enum types in `GetMemberLevelRequest`.
pub mod get_member_level_request { pub mod get_member_level_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberLevelResponse { pub struct GetMemberLevelResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_member_level_response::Result>, pub result: ::core::option::Option<get_member_level_response::Result>,
} }
/// Nested message and enum types in `GetMemberLevelResponse`. /// Nested message and enum types in `GetMemberLevelResponse`.
pub mod get_member_level_response { pub mod get_member_level_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub member_level: ::core::option::Option<crate::models::member_level::MemberLevel>, pub member_level: ::core::option::Option<crate::models::member_level::MemberLevel>,
} }
} }
/// subject = bet.beteran.ss.member_level.UpdateMemberLevel /// subject = bet.beteran.ss.member_level.UpdateMemberLevel
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberLevelRequest { pub struct UpdateMemberLevelRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<update_member_level_request::Request>, pub request: ::core::option::Option<update_member_level_request::Request>,
} }
/// Nested message and enum types in `UpdateMemberLevelRequest`. /// Nested message and enum types in `UpdateMemberLevelRequest`.
pub mod update_member_level_request { pub mod update_member_level_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(string, tag="2")] #[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="3")] #[prost(uint32, tag = "3")]
pub sort_order: u32, pub sort_order: u32,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberLevelResponse { pub struct UpdateMemberLevelResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_member_level_response::Result>, pub result: ::core::option::Option<update_member_level_response::Result>,
} }
/// Nested message and enum types in `UpdateMemberLevelResponse`. /// Nested message and enum types in `UpdateMemberLevelResponse`.
pub mod update_member_level_response { pub mod update_member_level_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub member_level: ::core::option::Option<crate::models::member_level::MemberLevel>, pub member_level: ::core::option::Option<crate::models::member_level::MemberLevel>,
} }
} }
/// subject = bet.beteran.ss.member_level.DeleteMemberLevel /// subject = bet.beteran.ss.member_level.DeleteMemberLevel
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberLevelRequest { pub struct DeleteMemberLevelRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<delete_member_level_request::Request>, pub request: ::core::option::Option<delete_member_level_request::Request>,
} }
/// Nested message and enum types in `DeleteMemberLevelRequest`. /// Nested message and enum types in `DeleteMemberLevelRequest`.
pub mod delete_member_level_request { pub mod delete_member_level_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberLevelResponse { pub struct DeleteMemberLevelResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<delete_member_level_response::Result>, pub result: ::core::option::Option<delete_member_level_response::Result>,
} }
/// Nested message and enum types in `DeleteMemberLevelResponse`. /// Nested message and enum types in `DeleteMemberLevelResponse`.
pub mod delete_member_level_response { pub mod delete_member_level_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {}
}
} }