bug fixed

This commit is contained in:
병준 박 2022-08-14 06:28:58 +00:00
parent b63726267d
commit f9ac4e030e
4 changed files with 240 additions and 210 deletions

View File

@ -1,150 +1,161 @@
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankDepositRequest {
#[prost(string, tag="1")]
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="2")]
#[prost(uint32, tag = "2")]
pub amount: u32,
#[prost(string, optional, tag="3")]
#[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")]
#[prost(message, optional, tag = "1")]
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_bank_deposit_response::Result>,
}
/// 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<crate::models::member_bank_deposit::MemberBankDeposit>,
#[prost(message, optional, tag = "1")]
pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankDepositsRequest {
#[prost(message, optional, tag="1")]
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag="2")]
#[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag="3")]
#[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<list_member_bank_deposits_request::Search>,
}
/// 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")]
#[prost(string, optional, tag = "1")]
pub member_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="2")]
#[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")]
#[prost(uint32, optional, tag = "3")]
pub amount: ::core::option::Option<u32>,
#[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<i32>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankDepositsResponse {
#[prost(message, optional, tag="1")]
#[prost(message, optional, tag = "1")]
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_bank_deposits_response::Result>,
}
/// 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<crate::models::member_bank_deposit::MemberBankDeposit>,
#[prost(message, repeated, tag = "1")]
pub member_bank_deposits:
::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBankDepositRequest {
#[prost(string, tag="1")]
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBankDepositResponse {
#[prost(message, optional, tag="1")]
#[prost(message, optional, tag = "1")]
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_bank_deposit_response::Result>,
}
/// 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<crate::models::member_bank_deposit::MemberBankDeposit>,
#[prost(message, optional, tag = "1")]
pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankDepositRequest {
#[prost(string, tag="1")]
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag="3")]
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="5")]
#[prost(uint32, tag = "5")]
pub amount: u32,
#[prost(string, optional, tag="7")]
#[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")]
#[prost(message, optional, tag = "1")]
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_bank_deposit_response::Result>,
}
/// 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<crate::models::member_bank_deposit::MemberBankDeposit>,
#[prost(message, optional, tag = "1")]
pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankDepositForStateRequest {
#[prost(string, tag="1")]
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(enumeration="crate::models::member_bank_deposit::MemberBankDepositState", tag="2")]
#[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")]
#[prost(message, optional, tag = "1")]
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_bank_deposit_for_state_response::Result>,
}
/// 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<crate::models::member_bank_deposit::MemberBankDeposit>,
#[prost(message, optional, tag = "1")]
pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberBankDepositRequest {
#[prost(string, tag="1")]
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberBankDepositResponse {
#[prost(message, optional, tag="1")]
#[prost(message, optional, tag = "1")]
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_bank_deposit_response::Result>,
}
/// Nested message and enum types in `DeleteMemberBankDepositResponse`.
pub mod delete_member_bank_deposit_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
}
pub struct Result {}
}

View File

@ -1,166 +1,177 @@
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankWithdrawRequest {
#[prost(string, tag="1")]
#[prost(string, tag = "1")]
pub bank_name: ::prost::alloc::string::String,
#[prost(string, tag="2")]
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag="3")]
#[prost(string, tag = "3")]
pub account_number: ::prost::alloc::string::String,
#[prost(uint32, tag="4")]
#[prost(uint32, tag = "4")]
pub amount: u32,
#[prost(string, tag="5")]
#[prost(string, tag = "5")]
pub password: ::prost::alloc::string::String,
#[prost(string, optional, tag="6")]
#[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")]
#[prost(message, optional, tag = "1")]
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_bank_withdraw_response::Result>,
}
/// 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<crate::models::member_bank_withdraw::MemberBankWithdraw>,
#[prost(message, optional, tag = "1")]
pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankWithdrawsRequest {
#[prost(message, optional, tag="1")]
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag="2")]
#[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag="3")]
#[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<list_member_bank_withdraws_request::Search>,
}
/// 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")]
#[prost(string, optional, tag = "1")]
pub member_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="2")]
#[prost(string, optional, tag = "2")]
pub bank_name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="3")]
#[prost(string, optional, tag = "3")]
pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="4")]
#[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")]
#[prost(uint32, optional, tag = "5")]
pub amount: ::core::option::Option<u32>,
#[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<i32>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankWithdrawsResponse {
#[prost(message, optional, tag="1")]
#[prost(message, optional, tag = "1")]
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_bank_withdraws_response::Result>,
}
/// 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<crate::models::member_bank_withdraw::MemberBankWithdraw>,
#[prost(message, repeated, tag = "1")]
pub member_bank_withdraws:
::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBankWithdrawRequest {
#[prost(string, tag="1")]
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBankWithdrawResponse {
#[prost(message, optional, tag="1")]
#[prost(message, optional, tag = "1")]
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_bank_withdraw_response::Result>,
}
/// 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<crate::models::member_bank_withdraw::MemberBankWithdraw>,
#[prost(message, optional, tag = "1")]
pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankWithdrawRequest {
#[prost(string, tag="1")]
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag="2")]
#[prost(string, tag = "2")]
pub bank_name: ::prost::alloc::string::String,
#[prost(string, tag="3")]
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag="4")]
#[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String,
#[prost(uint32, tag="5")]
#[prost(uint32, tag = "5")]
pub amount: u32,
#[prost(string, tag="6")]
#[prost(string, tag = "6")]
pub password: ::prost::alloc::string::String,
#[prost(string, optional, tag="7")]
#[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")]
#[prost(message, optional, tag = "1")]
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_bank_withdraw_response::Result>,
}
/// 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<crate::models::member_bank_withdraw::MemberBankWithdraw>,
#[prost(message, optional, tag = "1")]
pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankWithdrawForStateRequest {
#[prost(string, tag="1")]
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(enumeration="crate::models::member_bank_withdraw::MemberBankWithdrawState", tag="2")]
#[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")]
#[prost(message, optional, tag = "1")]
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_bank_withdraw_for_state_response::Result>,
}
/// 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<crate::models::member_bank_withdraw::MemberBankWithdraw>,
#[prost(message, optional, tag = "1")]
pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberBankWithdrawRequest {
#[prost(string, tag="1")]
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberBankWithdrawResponse {
#[prost(message, optional, tag="1")]
#[prost(message, optional, tag = "1")]
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_bank_withdraw_response::Result>,
}
/// Nested message and enum types in `DeleteMemberBankWithdrawResponse`.
pub mod delete_member_bank_withdraw_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
}
pub struct Result {}
}

View File

@ -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<u32>,
#[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<i32>,
}
}
}

View File

@ -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<u32>,
#[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<i32>,
}
}
}