diff --git a/src/c2se/backend/member_level.rs b/src/c2se/backend/member_level.rs index 647d2af..b60d4bc 100644 --- a/src/c2se/backend/member_level.rs +++ b/src/c2se/backend/member_level.rs @@ -90,10 +90,10 @@ pub const SUBJECT_UPDATE_MEMBER_LEVEL: &str = const_format::concatcp!(SUBJECT, " pub struct UpdateMemberLevelRequest { #[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")] + #[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 { diff --git a/src/ss/member/member_level.rs b/src/ss/member/member_level.rs index 4461f47..2d1bbb2 100644 --- a/src/ss/member/member_level.rs +++ b/src/ss/member/member_level.rs @@ -100,10 +100,10 @@ pub struct UpdateMemberLevelRequest { pub client: ::core::option::Option, #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - #[prost(string, optional, tag="3")] - pub parent_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, tag="4")] + #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, + #[prost(uint32, tag="4")] + pub sort_order: u32, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberLevelResponse {