bug fixed

This commit is contained in:
병준 박 2022-08-14 06:14:46 +00:00
parent 31b49c47bf
commit b63726267d
2 changed files with 330 additions and 302 deletions

View File

@ -1,226 +1,240 @@
const SUBJECT: &str = "bet.beteran.ss.member_bank_deposit"; const SUBJECT: &str = "bet.beteran.ss.member_bank_deposit";
pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit"); pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str =
pub const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: &str = const_format::concatcp!(SUBJECT, ".ListMemberBankDeposits"); const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit");
pub const SUBJECT_GET_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".GetMemberBankDeposit"); pub const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: &str =
pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankDeposit"); const_format::concatcp!(SUBJECT, ".ListMemberBankDeposits");
pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankDepositForState"); pub const SUBJECT_GET_MEMBER_BANK_DEPOSIT: &str =
pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit"); const_format::concatcp!(SUBJECT, ".GetMemberBankDeposit");
pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankDeposit");
pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankDepositForState");
pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit");
/// subject = bet.beteran.ss.member_bank_deposit.CreateMemberBankDeposit /// subject = bet.beteran.ss.member_bank_deposit.CreateMemberBankDeposit
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankDepositRequest { pub struct CreateMemberBankDepositRequest {
#[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_bank_deposit_request::Request>, pub request: ::core::option::Option<create_member_bank_deposit_request::Request>,
} }
/// Nested message and enum types in `CreateMemberBankDepositRequest`. /// Nested message and enum types in `CreateMemberBankDepositRequest`.
pub mod create_member_bank_deposit_request { pub mod create_member_bank_deposit_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 member_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="2")] #[prost(uint32, tag = "3")]
pub amount: u32, pub amount: u32,
#[prost(string, optional, tag="3")] #[prost(string, optional, tag = "4")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankDepositResponse { pub struct CreateMemberBankDepositResponse {
#[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_bank_deposit_response::Result>, pub result: ::core::option::Option<create_member_bank_deposit_response::Result>,
} }
/// Nested message and enum types in `CreateMemberBankDepositResponse`. /// Nested message and enum types in `CreateMemberBankDepositResponse`.
pub mod create_member_bank_deposit_response { pub mod create_member_bank_deposit_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_bank_deposit: ::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>, pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
} }
} }
/// subject = bet.beteran.ss.member_bank_deposit.ListMemberBankDeposits /// subject = bet.beteran.ss.member_bank_deposit.ListMemberBankDeposits
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankDepositsRequest { pub struct ListMemberBankDepositsRequest {
#[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_bank_deposits_request::Request>, pub request: ::core::option::Option<list_member_bank_deposits_request::Request>,
} }
/// Nested message and enum types in `ListMemberBankDepositsRequest`. /// Nested message and enum types in `ListMemberBankDepositsRequest`.
pub mod list_member_bank_deposits_request { pub mod list_member_bank_deposits_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>, 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>, 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<request::Search>, pub search: ::core::option::Option<request::Search>,
} }
/// Nested message and enum types in `Request`. /// Nested message and enum types in `Request`.
pub mod request { pub mod request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Search { pub struct Search {
#[prost(string, optional, tag="1")] #[prost(string, optional, tag = "1")]
pub member_id: ::core::option::Option<::prost::alloc::string::String>, 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>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="3")] #[prost(string, optional, tag = "3")]
pub amount: ::core::option::Option<::prost::alloc::string::String>, pub amount: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="4")] #[prost(string, optional, tag = "4")]
pub memo_like: ::core::option::Option<::prost::alloc::string::String>, pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="5")] #[prost(string, optional, tag = "5")]
pub state: ::core::option::Option<::prost::alloc::string::String>, pub state: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankDepositsResponse { pub struct ListMemberBankDepositsResponse {
#[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_bank_deposits_response::Result>, pub result: ::core::option::Option<list_member_bank_deposits_response::Result>,
} }
/// Nested message and enum types in `ListMemberBankDepositsResponse`. /// Nested message and enum types in `ListMemberBankDepositsResponse`.
pub mod list_member_bank_deposits_response { pub mod list_member_bank_deposits_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_bank_deposits: ::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDeposit>, pub member_bank_deposits:
::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDeposit>,
} }
} }
/// subject = bet.beteran.ss.member_bank_deposit.GetMemberBankDeposit /// subject = bet.beteran.ss.member_bank_deposit.GetMemberBankDeposit
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBankDepositRequest { pub struct GetMemberBankDepositRequest {
#[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_bank_deposit_request::Request>, pub request: ::core::option::Option<get_member_bank_deposit_request::Request>,
} }
/// Nested message and enum types in `GetMemberBankDepositRequest`. /// Nested message and enum types in `GetMemberBankDepositRequest`.
pub mod get_member_bank_deposit_request { pub mod get_member_bank_deposit_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 GetMemberBankDepositResponse { pub struct GetMemberBankDepositResponse {
#[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_bank_deposit_response::Result>, pub result: ::core::option::Option<get_member_bank_deposit_response::Result>,
} }
/// Nested message and enum types in `GetMemberBankDepositResponse`. /// Nested message and enum types in `GetMemberBankDepositResponse`.
pub mod get_member_bank_deposit_response { pub mod get_member_bank_deposit_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_bank_deposit: ::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>, pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
} }
} }
/// subject = bet.beteran.ss.member_bank_deposit.UpdateMemberBankDeposit /// subject = bet.beteran.ss.member_bank_deposit.UpdateMemberBankDeposit
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankDepositRequest { pub struct UpdateMemberBankDepositRequest {
#[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_bank_deposit_request::Request>, pub request: ::core::option::Option<update_member_bank_deposit_request::Request>,
} }
/// Nested message and enum types in `UpdateMemberBankDepositRequest`. /// Nested message and enum types in `UpdateMemberBankDepositRequest`.
pub mod update_member_bank_deposit_request { pub mod update_member_bank_deposit_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, tag="3")] #[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="5")] #[prost(uint32, tag = "5")]
pub amount: u32, pub amount: u32,
#[prost(string, optional, tag="7")] #[prost(string, optional, tag = "7")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankDepositResponse { pub struct UpdateMemberBankDepositResponse {
#[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_bank_deposit_response::Result>, pub result: ::core::option::Option<update_member_bank_deposit_response::Result>,
} }
/// Nested message and enum types in `UpdateMemberBankDepositResponse`. /// Nested message and enum types in `UpdateMemberBankDepositResponse`.
pub mod update_member_bank_deposit_response { pub mod update_member_bank_deposit_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_bank_deposit: ::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>, pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
} }
} }
/// subject = bet.beteran.ss.member_bank_deposit.UpdateMemberBankDepositForState /// subject = bet.beteran.ss.member_bank_deposit.UpdateMemberBankDepositForState
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankDepositForStateRequest { pub struct UpdateMemberBankDepositForStateRequest {
#[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_bank_deposit_for_state_request::Request>, pub request: ::core::option::Option<update_member_bank_deposit_for_state_request::Request>,
} }
/// Nested message and enum types in `UpdateMemberBankDepositForStateRequest`. /// Nested message and enum types in `UpdateMemberBankDepositForStateRequest`.
pub mod update_member_bank_deposit_for_state_request { pub mod update_member_bank_deposit_for_state_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(enumeration="crate::models::member_bank_deposit::MemberBankDepositState", tag="2")] #[prost(
enumeration = "crate::models::member_bank_deposit::MemberBankDepositState",
tag = "2"
)]
pub state: i32, pub state: i32,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankDepositForStateResponse { pub struct UpdateMemberBankDepositForStateResponse {
#[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_bank_deposit_for_state_response::Result>, pub result: ::core::option::Option<update_member_bank_deposit_for_state_response::Result>,
} }
/// Nested message and enum types in `UpdateMemberBankDepositForStateResponse`. /// Nested message and enum types in `UpdateMemberBankDepositForStateResponse`.
pub mod update_member_bank_deposit_for_state_response { pub mod update_member_bank_deposit_for_state_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_bank_deposit: ::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>, pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
} }
} }
/// subject = bet.beteran.ss.member_bank_deposit.DeleteMemberBankDeposit /// subject = bet.beteran.ss.member_bank_deposit.DeleteMemberBankDeposit
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberBankDepositRequest { pub struct DeleteMemberBankDepositRequest {
#[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_bank_deposit_request::Request>, pub request: ::core::option::Option<delete_member_bank_deposit_request::Request>,
} }
/// Nested message and enum types in `DeleteMemberBankDepositRequest`. /// Nested message and enum types in `DeleteMemberBankDepositRequest`.
pub mod delete_member_bank_deposit_request { pub mod delete_member_bank_deposit_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 DeleteMemberBankDepositResponse { pub struct DeleteMemberBankDepositResponse {
#[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_bank_deposit_response::Result>, pub result: ::core::option::Option<delete_member_bank_deposit_response::Result>,
} }
/// Nested message and enum types in `DeleteMemberBankDepositResponse`. /// Nested message and enum types in `DeleteMemberBankDepositResponse`.
pub mod delete_member_bank_deposit_response { pub mod delete_member_bank_deposit_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {}
}
} }

View File

@ -1,242 +1,256 @@
const SUBJECT: &str = "bet.beteran.ss.member_bank_withdraw"; const SUBJECT: &str = "bet.beteran.ss.member_bank_withdraw";
pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw"); pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str =
pub const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: &str = const_format::concatcp!(SUBJECT, ".ListMemberBankWithdraws"); const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw");
pub const SUBJECT_GET_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".GetMemberBankWithdraw"); pub const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: &str =
pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdraw"); const_format::concatcp!(SUBJECT, ".ListMemberBankWithdraws");
pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdrawForState"); pub const SUBJECT_GET_MEMBER_BANK_WITHDRAW: &str =
pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw"); const_format::concatcp!(SUBJECT, ".GetMemberBankWithdraw");
pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdraw");
pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdrawForState");
pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw");
/// subject = bet.beteran.ss.member_bank_withdraw.CreateMemberBankWithdraw /// subject = bet.beteran.ss.member_bank_withdraw.CreateMemberBankWithdraw
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankWithdrawRequest { pub struct CreateMemberBankWithdrawRequest {
#[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_bank_withdraw_request::Request>, pub request: ::core::option::Option<create_member_bank_withdraw_request::Request>,
} }
/// Nested message and enum types in `CreateMemberBankWithdrawRequest`. /// Nested message and enum types in `CreateMemberBankWithdrawRequest`.
pub mod create_member_bank_withdraw_request { pub mod create_member_bank_withdraw_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 member_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub bank_name: ::prost::alloc::string::String, pub bank_name: ::prost::alloc::string::String,
#[prost(string, tag="2")] #[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(string, tag="3")] #[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(uint32, tag="4")] #[prost(uint32, tag = "5")]
pub amount: u32, pub amount: u32,
#[prost(string, tag="5")] #[prost(string, tag = "6")]
pub password: ::prost::alloc::string::String, pub password: ::prost::alloc::string::String,
#[prost(string, optional, tag="6")] #[prost(string, optional, tag = "7")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankWithdrawResponse { pub struct CreateMemberBankWithdrawResponse {
#[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_bank_withdraw_response::Result>, pub result: ::core::option::Option<create_member_bank_withdraw_response::Result>,
} }
/// Nested message and enum types in `CreateMemberBankWithdrawResponse`. /// Nested message and enum types in `CreateMemberBankWithdrawResponse`.
pub mod create_member_bank_withdraw_response { pub mod create_member_bank_withdraw_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_bank_withdraw: ::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>, pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
} }
} }
/// subject = bet.beteran.ss.member_bank_withdraw.ListMemberBankWithdraws /// subject = bet.beteran.ss.member_bank_withdraw.ListMemberBankWithdraws
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankWithdrawsRequest { pub struct ListMemberBankWithdrawsRequest {
#[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_bank_withdraws_request::Request>, pub request: ::core::option::Option<list_member_bank_withdraws_request::Request>,
} }
/// Nested message and enum types in `ListMemberBankWithdrawsRequest`. /// Nested message and enum types in `ListMemberBankWithdrawsRequest`.
pub mod list_member_bank_withdraws_request { pub mod list_member_bank_withdraws_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>, 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>, 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<request::Search>, pub search: ::core::option::Option<request::Search>,
} }
/// Nested message and enum types in `Request`. /// Nested message and enum types in `Request`.
pub mod request { pub mod request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Search { pub struct Search {
#[prost(string, optional, tag="1")] #[prost(string, optional, tag = "1")]
pub member_id: ::core::option::Option<::prost::alloc::string::String>, 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>, 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>, 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>, pub account_number_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="5")] #[prost(string, optional, tag = "5")]
pub amount: ::core::option::Option<::prost::alloc::string::String>, pub amount: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="6")] #[prost(string, optional, tag = "6")]
pub memo_like: ::core::option::Option<::prost::alloc::string::String>, pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="7")] #[prost(string, optional, tag = "7")]
pub state: ::core::option::Option<::prost::alloc::string::String>, pub state: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankWithdrawsResponse { pub struct ListMemberBankWithdrawsResponse {
#[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_bank_withdraws_response::Result>, pub result: ::core::option::Option<list_member_bank_withdraws_response::Result>,
} }
/// Nested message and enum types in `ListMemberBankWithdrawsResponse`. /// Nested message and enum types in `ListMemberBankWithdrawsResponse`.
pub mod list_member_bank_withdraws_response { pub mod list_member_bank_withdraws_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_bank_withdraws: ::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdraw>, pub member_bank_withdraws:
::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdraw>,
} }
} }
/// subject = bet.beteran.ss.member_bank_withdraw.GetMemberBankWithdraw /// subject = bet.beteran.ss.member_bank_withdraw.GetMemberBankWithdraw
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBankWithdrawRequest { pub struct GetMemberBankWithdrawRequest {
#[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_bank_withdraw_request::Request>, pub request: ::core::option::Option<get_member_bank_withdraw_request::Request>,
} }
/// Nested message and enum types in `GetMemberBankWithdrawRequest`. /// Nested message and enum types in `GetMemberBankWithdrawRequest`.
pub mod get_member_bank_withdraw_request { pub mod get_member_bank_withdraw_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 GetMemberBankWithdrawResponse { pub struct GetMemberBankWithdrawResponse {
#[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_bank_withdraw_response::Result>, pub result: ::core::option::Option<get_member_bank_withdraw_response::Result>,
} }
/// Nested message and enum types in `GetMemberBankWithdrawResponse`. /// Nested message and enum types in `GetMemberBankWithdrawResponse`.
pub mod get_member_bank_withdraw_response { pub mod get_member_bank_withdraw_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_bank_withdraw: ::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>, pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
} }
} }
/// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdraw /// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdraw
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankWithdrawRequest { pub struct UpdateMemberBankWithdrawRequest {
#[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_bank_withdraw_request::Request>, pub request: ::core::option::Option<update_member_bank_withdraw_request::Request>,
} }
/// Nested message and enum types in `UpdateMemberBankWithdrawRequest`. /// Nested message and enum types in `UpdateMemberBankWithdrawRequest`.
pub mod update_member_bank_withdraw_request { pub mod update_member_bank_withdraw_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, tag="2")] #[prost(string, tag = "2")]
pub bank_name: ::prost::alloc::string::String, pub bank_name: ::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(string, tag="4")] #[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(uint32, tag="5")] #[prost(uint32, tag = "5")]
pub amount: u32, pub amount: u32,
#[prost(string, tag="6")] #[prost(string, tag = "6")]
pub password: ::prost::alloc::string::String, 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>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankWithdrawResponse { pub struct UpdateMemberBankWithdrawResponse {
#[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_bank_withdraw_response::Result>, pub result: ::core::option::Option<update_member_bank_withdraw_response::Result>,
} }
/// Nested message and enum types in `UpdateMemberBankWithdrawResponse`. /// Nested message and enum types in `UpdateMemberBankWithdrawResponse`.
pub mod update_member_bank_withdraw_response { pub mod update_member_bank_withdraw_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_bank_withdraw: ::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>, pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
} }
} }
/// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdrawForState /// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdrawForState
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankWithdrawForStateRequest { pub struct UpdateMemberBankWithdrawForStateRequest {
#[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_bank_withdraw_for_state_request::Request>, pub request: ::core::option::Option<update_member_bank_withdraw_for_state_request::Request>,
} }
/// Nested message and enum types in `UpdateMemberBankWithdrawForStateRequest`. /// Nested message and enum types in `UpdateMemberBankWithdrawForStateRequest`.
pub mod update_member_bank_withdraw_for_state_request { pub mod update_member_bank_withdraw_for_state_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(enumeration="crate::models::member_bank_withdraw::MemberBankWithdrawState", tag="2")] #[prost(
enumeration = "crate::models::member_bank_withdraw::MemberBankWithdrawState",
tag = "2"
)]
pub state: i32, pub state: i32,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankWithdrawForStateResponse { pub struct UpdateMemberBankWithdrawForStateResponse {
#[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_bank_withdraw_for_state_response::Result>, pub result: ::core::option::Option<update_member_bank_withdraw_for_state_response::Result>,
} }
/// Nested message and enum types in `UpdateMemberBankWithdrawForStateResponse`. /// Nested message and enum types in `UpdateMemberBankWithdrawForStateResponse`.
pub mod update_member_bank_withdraw_for_state_response { pub mod update_member_bank_withdraw_for_state_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_bank_withdraw: ::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>, pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
} }
} }
/// subject = bet.beteran.ss.member_bank_withdraw.DeleteMemberBankWithdraw /// subject = bet.beteran.ss.member_bank_withdraw.DeleteMemberBankWithdraw
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberBankWithdrawRequest { pub struct DeleteMemberBankWithdrawRequest {
#[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_bank_withdraw_request::Request>, pub request: ::core::option::Option<delete_member_bank_withdraw_request::Request>,
} }
/// Nested message and enum types in `DeleteMemberBankWithdrawRequest`. /// Nested message and enum types in `DeleteMemberBankWithdrawRequest`.
pub mod delete_member_bank_withdraw_request { pub mod delete_member_bank_withdraw_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 DeleteMemberBankWithdrawResponse { pub struct DeleteMemberBankWithdrawResponse {
#[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_bank_withdraw_response::Result>, pub result: ::core::option::Option<delete_member_bank_withdraw_response::Result>,
} }
/// Nested message and enum types in `DeleteMemberBankWithdrawResponse`. /// Nested message and enum types in `DeleteMemberBankWithdrawResponse`.
pub mod delete_member_bank_withdraw_response { pub mod delete_member_bank_withdraw_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {}
}
} }