bug fixed
This commit is contained in:
parent
18449cc1dd
commit
e1c00ba2a9
|
@ -1,180 +1,182 @@
|
||||||
const SUBJECT: &str = "bet.beteran.ss.member_class";
|
const SUBJECT: &str = "bet.beteran.ss.member_class";
|
||||||
|
|
||||||
pub const SUBJECT_CREATE_MEMBER_CLASS: &str = const_format::concatcp!(SUBJECT, ".CreateMemberClass");
|
pub const SUBJECT_CREATE_MEMBER_CLASS: &str =
|
||||||
pub const SUBJECT_LIST_MEMBER_CLASSSES: &str = const_format::concatcp!(SUBJECT, ".ListMemberClasses");
|
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_GET_MEMBER_CLASS: &str = const_format::concatcp!(SUBJECT, ".GetMemberClass");
|
||||||
pub const SUBJECT_UPDATE_MEMBER_CLASS: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberClass");
|
pub const SUBJECT_UPDATE_MEMBER_CLASS: &str =
|
||||||
pub const SUBJECT_DELETE_MEMBER_CLASS: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberClass");
|
const_format::concatcp!(SUBJECT, ".UpdateMemberClass");
|
||||||
|
pub const SUBJECT_DELETE_MEMBER_CLASS: &str =
|
||||||
|
const_format::concatcp!(SUBJECT, ".DeleteMemberClass");
|
||||||
|
|
||||||
/// subject = bet.beteran.ss.member_class.CreateMemberClass
|
/// subject = bet.beteran.ss.member_class.CreateMemberClass
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct CreateMemberClassRequest {
|
pub struct CreateMemberClassRequest {
|
||||||
#[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_class_request::Request>,
|
pub request: ::core::option::Option<create_member_class_request::Request>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `CreateMemberClassRequest`.
|
/// Nested message and enum types in `CreateMemberClassRequest`.
|
||||||
pub mod create_member_class_request {
|
pub mod create_member_class_request {
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct Request {
|
pub struct Request {
|
||||||
#[prost(string, optional, tag="1")]
|
#[prost(string, optional, tag = "1")]
|
||||||
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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct CreateMemberClassResponse {
|
pub struct CreateMemberClassResponse {
|
||||||
#[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_class_response::Result>,
|
pub result: ::core::option::Option<create_member_class_response::Result>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `CreateMemberClassResponse`.
|
/// Nested message and enum types in `CreateMemberClassResponse`.
|
||||||
pub mod create_member_class_response {
|
pub mod create_member_class_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_class: ::core::option::Option<crate::models::member_class::MemberClass>,
|
pub member_class: ::core::option::Option<crate::models::member_class::MemberClass>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// subject = bet.beteran.ss.member_class.ListMemberClasses
|
/// subject = bet.beteran.ss.member_class.ListMemberClasses
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct ListMemberClassesRequest {
|
pub struct ListMemberClassesRequest {
|
||||||
#[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_classes_request::Request>,
|
pub request: ::core::option::Option<list_member_classes_request::Request>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `ListMemberClassesRequest`.
|
/// Nested message and enum types in `ListMemberClassesRequest`.
|
||||||
pub mod list_member_classes_request {
|
pub mod list_member_classes_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 ListMemberClassesResponse {
|
pub struct ListMemberClassesResponse {
|
||||||
#[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_classes_response::Result>,
|
pub result: ::core::option::Option<list_member_classes_response::Result>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `ListMemberClassesResponse`.
|
/// Nested message and enum types in `ListMemberClassesResponse`.
|
||||||
pub mod list_member_classes_response {
|
pub mod list_member_classes_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_classes: ::prost::alloc::vec::Vec<crate::models::member_class::MemberClass>,
|
pub member_classes: ::prost::alloc::vec::Vec<crate::models::member_class::MemberClass>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// subject = bet.beteran.ss.member_class.GetMemberClass
|
/// subject = bet.beteran.ss.member_class.GetMemberClass
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct GetMemberClassRequest {
|
pub struct GetMemberClassRequest {
|
||||||
#[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_class_request::Request>,
|
pub request: ::core::option::Option<get_member_class_request::Request>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `GetMemberClassRequest`.
|
/// Nested message and enum types in `GetMemberClassRequest`.
|
||||||
pub mod get_member_class_request {
|
pub mod get_member_class_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 GetMemberClassResponse {
|
pub struct GetMemberClassResponse {
|
||||||
#[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_class_response::Result>,
|
pub result: ::core::option::Option<get_member_class_response::Result>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `GetMemberClassResponse`.
|
/// Nested message and enum types in `GetMemberClassResponse`.
|
||||||
pub mod get_member_class_response {
|
pub mod get_member_class_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_class: ::core::option::Option<crate::models::member_class::MemberClass>,
|
pub member_class: ::core::option::Option<crate::models::member_class::MemberClass>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// subject = bet.beteran.ss.member_class.UpdateMemberClass
|
/// subject = bet.beteran.ss.member_class.UpdateMemberClass
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct UpdateMemberClassRequest {
|
pub struct UpdateMemberClassRequest {
|
||||||
#[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_class_request::Request>,
|
pub request: ::core::option::Option<update_member_class_request::Request>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `UpdateMemberClassRequest`.
|
/// Nested message and enum types in `UpdateMemberClassRequest`.
|
||||||
pub mod update_member_class_request {
|
pub mod update_member_class_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, optional, tag="2")]
|
#[prost(string, optional, tag = "2")]
|
||||||
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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct UpdateMemberClassResponse {
|
pub struct UpdateMemberClassResponse {
|
||||||
#[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_class_response::Result>,
|
pub result: ::core::option::Option<update_member_class_response::Result>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `UpdateMemberClassResponse`.
|
/// Nested message and enum types in `UpdateMemberClassResponse`.
|
||||||
pub mod update_member_class_response {
|
pub mod update_member_class_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_class: ::core::option::Option<crate::models::member_class::MemberClass>,
|
pub member_class: ::core::option::Option<crate::models::member_class::MemberClass>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// subject = bet.beteran.ss.member_class.DeleteMemberClass
|
/// subject = bet.beteran.ss.member_class.DeleteMemberClass
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct DeleteMemberClassRequest {
|
pub struct DeleteMemberClassRequest {
|
||||||
#[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_class_request::Request>,
|
pub request: ::core::option::Option<delete_member_class_request::Request>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `DeleteMemberClassRequest`.
|
/// Nested message and enum types in `DeleteMemberClassRequest`.
|
||||||
pub mod delete_member_class_request {
|
pub mod delete_member_class_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 DeleteMemberClassResponse {
|
pub struct DeleteMemberClassResponse {
|
||||||
#[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_class_response::Result>,
|
pub result: ::core::option::Option<delete_member_class_response::Result>,
|
||||||
}
|
}
|
||||||
/// 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 {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user