diff --git a/src/c2se/member_bank_deposit.rs b/src/c2se/member_bank_deposit.rs index 52cf453..9c31fd3 100644 --- a/src/c2se/member_bank_deposit.rs +++ b/src/c2se/member_bank_deposit.rs @@ -1,150 +1,161 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankDepositRequest { - #[prost(string, tag="1")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="2")] - pub amount: u32, - #[prost(string, optional, tag="3")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "1")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "2")] + pub amount: u32, + #[prost(string, optional, tag = "3")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankDepositResponse { - #[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 `CreateMemberBankDepositResponse`. pub mod create_member_bank_deposit_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_deposit: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_deposit: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberBankDepositsRequest { - #[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, + #[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 `ListMemberBankDepositsRequest`. pub mod list_member_bank_deposits_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub member_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="2")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="3")] - pub amount: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="4")] - pub memo_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="5")] - pub state: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Search { + #[prost(string, optional, tag = "1")] + pub member_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "2")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint32, optional, tag = "3")] + pub amount: ::core::option::Option, + #[prost(string, optional, tag = "4")] + pub memo_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost( + enumeration = "crate::models::member_bank_deposit::MemberBankDepositState", + optional, + tag = "5" + )] + pub state: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberBankDepositsResponse { - #[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 `ListMemberBankDepositsResponse`. pub mod list_member_bank_deposits_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub member_bank_deposits: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, repeated, tag = "1")] + pub member_bank_deposits: + ::prost::alloc::vec::Vec, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankDepositRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankDepositResponse { - #[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 `GetMemberBankDepositResponse`. pub mod get_member_bank_deposit_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_deposit: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_deposit: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankDepositRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="5")] - pub amount: u32, - #[prost(string, optional, tag="7")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "5")] + pub amount: u32, + #[prost(string, optional, tag = "7")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankDepositResponse { - #[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 `UpdateMemberBankDepositResponse`. pub mod update_member_bank_deposit_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_deposit: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_deposit: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankDepositForStateRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(enumeration="crate::models::member_bank_deposit::MemberBankDepositState", tag="2")] - pub state: i32, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost( + enumeration = "crate::models::member_bank_deposit::MemberBankDepositState", + tag = "2" + )] + pub state: i32, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankDepositForStateResponse { - #[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 `UpdateMemberBankDepositForStateResponse`. pub mod update_member_bank_deposit_for_state_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_deposit: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_deposit: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankDepositRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankDepositResponse { - #[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 `DeleteMemberBankDepositResponse`. pub mod delete_member_bank_deposit_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} } diff --git a/src/c2se/member_bank_withdraw.rs b/src/c2se/member_bank_withdraw.rs index 0807007..c0156cb 100644 --- a/src/c2se/member_bank_withdraw.rs +++ b/src/c2se/member_bank_withdraw.rs @@ -1,166 +1,177 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankWithdrawRequest { - #[prost(string, tag="1")] - pub bank_name: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub name: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub account_number: ::prost::alloc::string::String, - #[prost(uint32, tag="4")] - pub amount: u32, - #[prost(string, tag="5")] - pub password: ::prost::alloc::string::String, - #[prost(string, optional, tag="6")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "1")] + pub bank_name: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub name: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub account_number: ::prost::alloc::string::String, + #[prost(uint32, tag = "4")] + pub amount: u32, + #[prost(string, tag = "5")] + pub password: ::prost::alloc::string::String, + #[prost(string, optional, tag = "6")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankWithdrawResponse { - #[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 `CreateMemberBankWithdrawResponse`. pub mod create_member_bank_withdraw_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_withdraw: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_withdraw: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberBankWithdrawsRequest { - #[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, + #[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 `ListMemberBankWithdrawsRequest`. pub mod list_member_bank_withdraws_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub member_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="2")] - pub bank_name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="3")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="4")] - pub account_number_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="5")] - pub amount: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="6")] - pub memo_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="7")] - pub state: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Search { + #[prost(string, optional, tag = "1")] + pub member_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "2")] + pub bank_name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "3")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "4")] + pub account_number_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint32, optional, tag = "5")] + pub amount: ::core::option::Option, + #[prost(string, optional, tag = "6")] + pub memo_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost( + enumeration = "crate::models::member_bank_withdraw::MemberBankWithdrawState", + optional, + tag = "7" + )] + pub state: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberBankWithdrawsResponse { - #[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 `ListMemberBankWithdrawsResponse`. pub mod list_member_bank_withdraws_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub member_bank_withdraws: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, repeated, tag = "1")] + pub member_bank_withdraws: + ::prost::alloc::vec::Vec, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankWithdrawRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankWithdrawResponse { - #[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 `GetMemberBankWithdrawResponse`. pub mod get_member_bank_withdraw_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_withdraw: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_withdraw: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankWithdrawRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub bank_name: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - #[prost(string, tag="4")] - pub account_number: ::prost::alloc::string::String, - #[prost(uint32, tag="5")] - pub amount: u32, - #[prost(string, tag="6")] - pub password: ::prost::alloc::string::String, - #[prost(string, optional, tag="7")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub bank_name: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(string, tag = "4")] + pub account_number: ::prost::alloc::string::String, + #[prost(uint32, tag = "5")] + pub amount: u32, + #[prost(string, tag = "6")] + pub password: ::prost::alloc::string::String, + #[prost(string, optional, tag = "7")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankWithdrawResponse { - #[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 `UpdateMemberBankWithdrawResponse`. pub mod update_member_bank_withdraw_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_withdraw: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_withdraw: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankWithdrawForStateRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(enumeration="crate::models::member_bank_withdraw::MemberBankWithdrawState", tag="2")] - pub state: i32, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost( + enumeration = "crate::models::member_bank_withdraw::MemberBankWithdrawState", + tag = "2" + )] + pub state: i32, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankWithdrawForStateResponse { - #[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 `UpdateMemberBankWithdrawForStateResponse`. pub mod update_member_bank_withdraw_for_state_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_withdraw: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_withdraw: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankWithdrawRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankWithdrawResponse { - #[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 `DeleteMemberBankWithdrawResponse`. pub mod delete_member_bank_withdraw_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} } diff --git a/src/ss/member_bank_deposit.rs b/src/ss/member_bank_deposit.rs index 0c36c76..383e926 100644 --- a/src/ss/member_bank_deposit.rs +++ b/src/ss/member_bank_deposit.rs @@ -78,12 +78,16 @@ pub mod list_member_bank_deposits_request { pub member_id: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag = "2")] pub name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag = "3")] - pub amount: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint32, optional, tag = "3")] + pub amount: ::core::option::Option, #[prost(string, optional, tag = "4")] pub memo_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag = "5")] - pub state: ::core::option::Option<::prost::alloc::string::String>, + #[prost( + enumeration = "crate::models::member_bank_deposit::MemberBankDepositState", + optional, + tag = "5" + )] + pub state: ::core::option::Option, } } } diff --git a/src/ss/member_bank_withdraw.rs b/src/ss/member_bank_withdraw.rs index 514c6ad..925545f 100644 --- a/src/ss/member_bank_withdraw.rs +++ b/src/ss/member_bank_withdraw.rs @@ -88,12 +88,16 @@ pub mod list_member_bank_withdraws_request { pub name_like: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag = "4")] pub account_number_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag = "5")] - pub amount: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint32, optional, tag = "5")] + pub amount: ::core::option::Option, #[prost(string, optional, tag = "6")] pub memo_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag = "7")] - pub state: ::core::option::Option<::prost::alloc::string::String>, + #[prost( + enumeration = "crate::models::member_bank_withdraw::MemberBankWithdrawState", + optional, + tag = "7" + )] + pub state: ::core::option::Option, } } }