bug fixed

This commit is contained in:
병준 박 2022-08-14 08:26:11 +00:00
parent f4395b7350
commit fe94718f06
6 changed files with 184 additions and 158 deletions

View File

@ -4,6 +4,8 @@ pub struct CreateMemberClassRequest {
pub parent_id: ::core::option::Option<::prost::alloc::string::String>, pub parent_id: ::core::option::Option<::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(bool, tag = "3")]
pub show: bool,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberClassResponse { pub struct CreateMemberClassResponse {
@ -33,8 +35,10 @@ pub struct ListMemberClassesRequest {
pub mod list_member_classes_request { pub mod list_member_classes_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Search { pub struct Search {
#[prost(string, optional, tag="4")] #[prost(string, optional, tag = "1")]
pub name_like: ::core::option::Option<::prost::alloc::string::String>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, tag = "2")]
pub show: bool,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
@ -80,6 +84,8 @@ pub struct UpdateMemberClassRequest {
pub parent_id: ::core::option::Option<::prost::alloc::string::String>, pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, tag = "3")] #[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(bool, tag = "4")]
pub show: bool,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberClassResponse { pub struct UpdateMemberClassResponse {
@ -111,6 +117,5 @@ pub struct DeleteMemberClassResponse {
/// Nested message and enum types in `DeleteMemberClassResponse`. /// Nested message and enum types in `DeleteMemberClassResponse`.
pub mod delete_member_class_response { pub mod delete_member_class_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {}
}
} }

View File

@ -2,7 +2,9 @@
pub struct CreateMemberLevelRequest { pub struct CreateMemberLevelRequest {
#[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(bool, tag = "2")]
pub show: bool,
#[prost(uint32, tag = "3")]
pub sort_order: u32, pub sort_order: u32,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
@ -35,6 +37,8 @@ pub mod list_member_levels_request {
pub struct Search { pub struct Search {
#[prost(string, optional, tag = "1")] #[prost(string, optional, tag = "1")]
pub name_like: ::core::option::Option<::prost::alloc::string::String>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, optional, tag = "2")]
pub show: ::core::option::Option<bool>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
@ -78,7 +82,9 @@ pub struct UpdateMemberLevelRequest {
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(bool, tag = "3")]
pub show: bool,
#[prost(uint32, tag = "4")]
pub sort_order: u32, pub sort_order: u32,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
@ -111,6 +117,5 @@ pub struct DeleteMemberLevelResponse {
/// 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 {}
}
} }

View File

@ -6,8 +6,10 @@ pub struct MemberClass {
pub parent_id: ::core::option::Option<::prost::alloc::string::String>, pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, tag = "3")] #[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(uint64, tag="4")] #[prost(bool, tag = "4")]
pub created_at: u64, pub show: bool,
#[prost(uint64, tag = "5")] #[prost(uint64, tag = "5")]
pub created_at: u64,
#[prost(uint64, tag = "6")]
pub updated_at: u64, pub updated_at: u64,
} }

View File

@ -4,10 +4,12 @@ pub struct MemberLevel {
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(bool, tag = "3")]
pub show: bool,
#[prost(uint32, tag = "4")]
pub sort_order: u32, pub sort_order: u32,
#[prost(uint64, tag="4")]
pub created_at: u64,
#[prost(uint64, tag = "5")] #[prost(uint64, tag = "5")]
pub created_at: u64,
#[prost(uint64, tag = "6")]
pub updated_at: u64, pub updated_at: u64,
} }

View File

@ -26,6 +26,8 @@ pub mod create_member_class_request {
pub parent_id: ::core::option::Option<::prost::alloc::string::String>, pub parent_id: ::core::option::Option<::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(bool, tag = "3")]
pub show: bool,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
@ -68,6 +70,8 @@ pub mod list_member_classes_request {
pub struct Search { pub struct Search {
#[prost(string, optional, tag = "1")] #[prost(string, optional, tag = "1")]
pub name_like: ::core::option::Option<::prost::alloc::string::String>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, optional, tag = "2")]
pub show: ::core::option::Option<bool>,
} }
} }
} }
@ -135,6 +139,8 @@ pub mod update_member_class_request {
pub parent_id: ::core::option::Option<::prost::alloc::string::String>, pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, tag = "3")] #[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(bool, tag = "4")]
pub show: bool,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]

View File

@ -23,7 +23,9 @@ pub mod create_member_level_request {
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(bool, tag = "2")]
pub show: bool,
#[prost(uint32, tag = "3")]
pub sort_order: u32, pub sort_order: u32,
} }
} }
@ -67,6 +69,8 @@ pub mod list_member_levels_request {
pub struct Search { pub struct Search {
#[prost(string, optional, tag = "1")] #[prost(string, optional, tag = "1")]
pub name_like: ::core::option::Option<::prost::alloc::string::String>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, optional, tag = "2")]
pub show: ::core::option::Option<bool>,
} }
} }
} }
@ -132,7 +136,9 @@ pub mod update_member_level_request {
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(bool, tag = "3")]
pub show: bool,
#[prost(uint32, tag = "4")]
pub sort_order: u32, pub sort_order: u32,
} }
} }