member, member_bank_account are modified

This commit is contained in:
병준 박 2022-08-15 04:08:32 +00:00
parent 84d9f84e5a
commit 89c1695e59
6 changed files with 381 additions and 300 deletions

View File

@ -29,6 +29,8 @@ pub mod create_member_request {
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(string, tag = "3")] #[prost(string, tag = "3")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub exchange_password: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
@ -152,6 +154,22 @@ pub struct UpdateMemberRequest {
pub password: ::core::option::Option<::prost::alloc::string::String>, pub password: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "5")] #[prost(string, optional, tag = "5")]
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "6")]
pub bank_account: ::core::option::Option<update_member_request::BankAccount>,
}
/// Nested message and enum types in `UpdateMemberRequest`.
pub mod update_member_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BankAccount {
#[prost(string, tag = "1")]
pub bank_id: ::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(string, tag = "4")]
pub exchange_password: ::prost::alloc::string::String,
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberResponse { pub struct UpdateMemberResponse {

View File

@ -1,134 +1,141 @@
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankAccountRequest { pub struct CreateMemberBankAccountRequest {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub member_id: ::prost::alloc::string::String, pub member_id: ::prost::alloc::string::String,
#[prost(string, tag="2")] #[prost(string, tag = "2")]
pub bank_id: ::prost::alloc::string::String, pub bank_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(string, tag="4")] #[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, optional, tag="5")] #[prost(string, tag = "5")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub exchange_password: ::prost::alloc::string::String,
#[prost(string, optional, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankAccountResponse { pub struct CreateMemberBankAccountResponse {
#[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_account_response::Result>, pub result: ::core::option::Option<create_member_bank_account_response::Result>,
} }
/// Nested message and enum types in `CreateMemberBankAccountResponse`. /// Nested message and enum types in `CreateMemberBankAccountResponse`.
pub mod create_member_bank_account_response { pub mod create_member_bank_account_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_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>, pub member_bank_account:
} ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankAccountsRequest { pub struct ListMemberBankAccountsRequest {
#[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<list_member_bank_accounts_request::Search>, pub search: ::core::option::Option<list_member_bank_accounts_request::Search>,
} }
/// Nested message and enum types in `ListMemberBankAccountsRequest`. /// Nested message and enum types in `ListMemberBankAccountsRequest`.
pub mod list_member_bank_accounts_request { pub mod list_member_bank_accounts_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_id: ::core::option::Option<::prost::alloc::string::String>, pub bank_id: ::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 memo_like: ::core::option::Option<::prost::alloc::string::String>, pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankAccountsResponse { pub struct ListMemberBankAccountsResponse {
#[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_accounts_response::Result>, pub result: ::core::option::Option<list_member_bank_accounts_response::Result>,
} }
/// Nested message and enum types in `ListMemberBankAccountsResponse`. /// Nested message and enum types in `ListMemberBankAccountsResponse`.
pub mod list_member_bank_accounts_response { pub mod list_member_bank_accounts_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_accounts: ::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>, pub member_bank_accounts:
} ::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBankAccountRequest { pub struct GetMemberBankAccountRequest {
#[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 GetMemberBankAccountResponse { pub struct GetMemberBankAccountResponse {
#[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_account_response::Result>, pub result: ::core::option::Option<get_member_bank_account_response::Result>,
} }
/// Nested message and enum types in `GetMemberBankAccountResponse`. /// Nested message and enum types in `GetMemberBankAccountResponse`.
pub mod get_member_bank_account_response { pub mod get_member_bank_account_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_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>, pub member_bank_account:
} ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankAccountRequest { pub struct UpdateMemberBankAccountRequest {
#[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_id: ::prost::alloc::string::String, pub bank_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(string, tag="4")] #[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, optional, tag="5")] #[prost(string, tag = "5")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub exchange_password: ::prost::alloc::string::String,
#[prost(string, optional, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankAccountResponse { pub struct UpdateMemberBankAccountResponse {
#[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_account_response::Result>, pub result: ::core::option::Option<update_member_bank_account_response::Result>,
} }
/// Nested message and enum types in `UpdateMemberBankAccountResponse`. /// Nested message and enum types in `UpdateMemberBankAccountResponse`.
pub mod update_member_bank_account_response { pub mod update_member_bank_account_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_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>, pub member_bank_account:
} ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberBankAccountRequest { pub struct DeleteMemberBankAccountRequest {
#[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 DeleteMemberBankAccountResponse { pub struct DeleteMemberBankAccountResponse {
#[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_account_response::Result>, pub result: ::core::option::Option<delete_member_bank_account_response::Result>,
} }
/// Nested message and enum types in `DeleteMemberBankAccountResponse`. /// Nested message and enum types in `DeleteMemberBankAccountResponse`.
pub mod delete_member_bank_account_response { pub mod delete_member_bank_account_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {}
}
} }

View File

@ -1,81 +1,84 @@
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Member { pub struct Member {
#[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 site_id: ::prost::alloc::string::String, pub site_id: ::prost::alloc::string::String,
#[prost(string, tag="3")] #[prost(string, tag = "3")]
pub member_class_id: ::prost::alloc::string::String, pub member_class_id: ::prost::alloc::string::String,
#[prost(string, tag="4")] #[prost(string, tag = "4")]
pub member_level_id: ::prost::alloc::string::String, pub member_level_id: ::prost::alloc::string::String,
#[prost(string, optional, tag="5")] #[prost(string, optional, tag = "5")]
pub referrer_member_id: ::core::option::Option<::prost::alloc::string::String>, pub referrer_member_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(uint64, tag="6")] #[prost(uint64, tag = "6")]
pub referred_count: u64, pub referred_count: u64,
#[prost(string, tag="7")] #[prost(string, tag = "7")]
pub username: ::prost::alloc::string::String, pub username: ::prost::alloc::string::String,
#[prost(string, tag="8")] #[prost(string, tag = "8")]
pub nickname: ::prost::alloc::string::String, pub nickname: ::prost::alloc::string::String,
#[prost(string, optional, tag="9")] #[prost(string, optional, tag = "9")]
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
#[prost(enumeration="MemberState", tag="10")] #[prost(enumeration = "MemberState", tag = "10")]
pub state: i32, pub state: i32,
#[prost(uint64, optional, tag="11")] #[prost(uint64, optional, tag = "11")]
pub state_changed_at: ::core::option::Option<u64>, pub state_changed_at: ::core::option::Option<u64>,
#[prost(string, optional, tag="12")] #[prost(string, optional, tag = "12")]
pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>,
#[prost(uint64, optional, tag="13")] #[prost(uint64, optional, tag = "13")]
pub last_signined_at: ::core::option::Option<u64>, pub last_signined_at: ::core::option::Option<u64>,
#[prost(uint64, tag="14")] #[prost(uint64, tag = "14")]
pub created_at: u64, pub created_at: u64,
#[prost(uint64, tag="15")] #[prost(uint64, tag = "15")]
pub updated_at: u64, pub updated_at: u64,
#[prost(uint64, optional, tag="16")] #[prost(uint64, optional, tag = "16")]
pub deleted_at: ::core::option::Option<u64>, pub deleted_at: ::core::option::Option<u64>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct MemberModel { pub struct MemberModel {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub site: ::core::option::Option<super::site::Site>, pub site: ::core::option::Option<crate::models::site::Site>,
#[prost(message, optional, tag="3")] #[prost(message, optional, tag = "3")]
pub member_class: ::core::option::Option<super::member_class::MemberClass>, pub member_class: ::core::option::Option<crate::models::member_class::MemberClass>,
#[prost(message, optional, tag="4")] #[prost(message, optional, tag = "4")]
pub member_level: ::core::option::Option<super::member_level::MemberLevel>, pub member_level: ::core::option::Option<crate::models::member_level::MemberLevel>,
#[prost(message, optional, tag="5")] #[prost(message, optional, tag = "5")]
pub referrer_member: ::core::option::Option<Member>, pub bank_account:
#[prost(uint64, tag="6")] ::core::option::Option<crate::models::member_bank_account::MemberBankAccountModel>,
pub referred_count: u64, #[prost(message, optional, tag = "6")]
#[prost(string, tag="7")] pub referrer_member: ::core::option::Option<Member>,
pub username: ::prost::alloc::string::String, #[prost(uint64, tag = "7")]
#[prost(string, tag="8")] pub referred_count: u64,
pub nickname: ::prost::alloc::string::String, #[prost(string, tag = "8")]
#[prost(string, optional, tag="9")] pub username: ::prost::alloc::string::String,
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, tag = "9")]
#[prost(enumeration="MemberState", tag="10")] pub nickname: ::prost::alloc::string::String,
pub state: i32, #[prost(string, optional, tag = "10")]
#[prost(uint64, optional, tag="11")] pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
pub state_changed_at: ::core::option::Option<u64>, #[prost(enumeration = "MemberState", tag = "11")]
#[prost(string, optional, tag="12")] pub state: i32,
pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, #[prost(uint64, optional, tag = "12")]
#[prost(uint64, optional, tag="13")] pub state_changed_at: ::core::option::Option<u64>,
pub last_signined_at: ::core::option::Option<u64>, #[prost(string, optional, tag = "13")]
#[prost(uint64, tag="14")] pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>,
pub created_at: u64, #[prost(uint64, optional, tag = "14")]
#[prost(uint64, tag="15")] pub last_signined_at: ::core::option::Option<u64>,
pub updated_at: u64, #[prost(uint64, tag = "15")]
#[prost(uint64, optional, tag="16")] pub created_at: u64,
pub deleted_at: ::core::option::Option<u64>, #[prost(uint64, tag = "16")]
pub updated_at: u64,
#[prost(uint64, optional, tag = "17")]
pub deleted_at: ::core::option::Option<u64>,
} }
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)] #[repr(i32)]
pub enum MemberState { pub enum MemberState {
None = 0, None = 0,
Normal = 1, Normal = 1,
Pending = 2, Pending = 2,
Withdrawal = 3, Withdrawal = 3,
Dormancy = 4, Dormancy = 4,
Blacklist = 5, Blacklist = 5,
Suspended = 6, Suspended = 6,
} }

View File

@ -1,19 +1,42 @@
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct MemberBankAccount { pub struct MemberBankAccount {
#[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 member_id: ::prost::alloc::string::String, pub member_id: ::prost::alloc::string::String,
#[prost(string, tag="3")] #[prost(string, tag = "3")]
pub bank_id: ::prost::alloc::string::String, pub bank_id: ::prost::alloc::string::String,
#[prost(string, tag="4")] #[prost(string, tag = "4")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(string, tag="5")] #[prost(string, tag = "5")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, optional, tag="6")] #[prost(string, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub exchange_password: ::prost::alloc::string::String,
#[prost(uint64, tag="7")] #[prost(string, optional, tag = "7")]
pub created_at: u64, pub memo: ::core::option::Option<::prost::alloc::string::String>,
#[prost(uint64, tag="8")] #[prost(uint64, tag = "8")]
pub updated_at: u64, pub created_at: u64,
#[prost(uint64, tag = "9")]
pub updated_at: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MemberBankAccountModel {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub member_id: ::prost::alloc::string::String,
#[prost(message, optional, tag = "3")]
pub bank: ::core::option::Option<crate::models::bank::Bank>,
#[prost(string, tag = "4")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub account_number: ::prost::alloc::string::String,
#[prost(string, tag = "6")]
pub exchange_password: ::prost::alloc::string::String,
#[prost(string, optional, tag = "7")]
pub memo: ::core::option::Option<::prost::alloc::string::String>,
#[prost(uint64, tag = "8")]
pub created_at: u64,
#[prost(uint64, tag = "9")]
pub updated_at: u64,
} }

View File

@ -51,6 +51,8 @@ pub mod create_member_request {
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(string, tag = "3")] #[prost(string, tag = "3")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub exchange_password: ::prost::alloc::string::String,
} }
} }
} }
@ -218,6 +220,22 @@ pub mod update_member_request {
pub password: ::core::option::Option<::prost::alloc::string::String>, pub password: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "5")] #[prost(string, optional, tag = "5")]
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "6")]
pub bank_account: ::core::option::Option<request::BankAccount>,
}
/// Nested message and enum types in `Request`.
pub mod request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BankAccount {
#[prost(string, tag = "1")]
pub bank_id: ::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(string, tag = "4")]
pub exchange_password: ::prost::alloc::string::String,
}
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]

View File

@ -1,197 +1,209 @@
const SUBJECT: &str = "bet.beteran.ss.member_bank_account"; const SUBJECT: &str = "bet.beteran.ss.member_bank_account";
pub const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankAccount"); pub const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: &str =
pub const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: &str = const_format::concatcp!(SUBJECT, ".ListMemberBankAccounts"); const_format::concatcp!(SUBJECT, ".CreateMemberBankAccount");
pub const SUBJECT_GET_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".GetMemberBankAccount"); pub const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: &str =
pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount"); const_format::concatcp!(SUBJECT, ".ListMemberBankAccounts");
pub const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankAccount"); pub const SUBJECT_GET_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".GetMemberBankAccount");
pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount");
pub const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankAccount");
/// subject = bet.beteran.ss.member_bank_account.CreateMemberBankAccount /// subject = bet.beteran.ss.member_bank_account.CreateMemberBankAccount
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankAccountRequest { pub struct CreateMemberBankAccountRequest {
#[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_account_request::Request>, pub request: ::core::option::Option<create_member_bank_account_request::Request>,
} }
/// Nested message and enum types in `CreateMemberBankAccountRequest`. /// Nested message and enum types in `CreateMemberBankAccountRequest`.
pub mod create_member_bank_account_request { pub mod create_member_bank_account_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, pub member_id: ::prost::alloc::string::String,
#[prost(string, tag="2")] #[prost(string, tag = "2")]
pub bank_id: ::prost::alloc::string::String, pub bank_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(string, tag="4")] #[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, optional, tag="5")] #[prost(string, tag = "5")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub exchange_password: ::prost::alloc::string::String,
} #[prost(string, optional, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>,
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankAccountResponse { pub struct CreateMemberBankAccountResponse {
#[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_account_response::Result>, pub result: ::core::option::Option<create_member_bank_account_response::Result>,
} }
/// Nested message and enum types in `CreateMemberBankAccountResponse`. /// Nested message and enum types in `CreateMemberBankAccountResponse`.
pub mod create_member_bank_account_response { pub mod create_member_bank_account_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_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>, pub member_bank_account:
} ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
}
} }
/// subject = bet.beteran.ss.member_bank_account.ListMemberBankAccounts /// subject = bet.beteran.ss.member_bank_account.ListMemberBankAccounts
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankAccountsRequest { pub struct ListMemberBankAccountsRequest {
#[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_accounts_request::Request>, pub request: ::core::option::Option<list_member_bank_accounts_request::Request>,
} }
/// Nested message and enum types in `ListMemberBankAccountsRequest`. /// Nested message and enum types in `ListMemberBankAccountsRequest`.
pub mod list_member_bank_accounts_request { pub mod list_member_bank_accounts_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 member_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, repeated, tag="2")] #[prost(string, optional, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>, pub bank_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag="3")] #[prost(string, optional, tag = "3")]
pub search: ::core::option::Option<request::Search>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
} #[prost(string, optional, tag = "4")]
/// Nested message and enum types in `Request`. pub account_number_like: ::core::option::Option<::prost::alloc::string::String>,
pub mod request { #[prost(string, optional, tag = "5")]
#[derive(Clone, PartialEq, ::prost::Message)] pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
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_id: ::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 memo_like: ::core::option::Option<::prost::alloc::string::String>,
}
} }
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberBankAccountsResponse { pub struct ListMemberBankAccountsResponse {
#[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_accounts_response::Result>, pub result: ::core::option::Option<list_member_bank_accounts_response::Result>,
} }
/// Nested message and enum types in `ListMemberBankAccountsResponse`. /// Nested message and enum types in `ListMemberBankAccountsResponse`.
pub mod list_member_bank_accounts_response { pub mod list_member_bank_accounts_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_accounts: ::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>, pub member_bank_accounts:
} ::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
}
} }
/// subject = bet.beteran.ss.member_bank_account.GetMemberBankAccount /// subject = bet.beteran.ss.member_bank_account.GetMemberBankAccount
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBankAccountRequest { pub struct GetMemberBankAccountRequest {
#[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_account_request::Request>, pub request: ::core::option::Option<get_member_bank_account_request::Request>,
} }
/// Nested message and enum types in `GetMemberBankAccountRequest`. /// Nested message and enum types in `GetMemberBankAccountRequest`.
pub mod get_member_bank_account_request { pub mod get_member_bank_account_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 GetMemberBankAccountResponse { pub struct GetMemberBankAccountResponse {
#[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_account_response::Result>, pub result: ::core::option::Option<get_member_bank_account_response::Result>,
} }
/// Nested message and enum types in `GetMemberBankAccountResponse`. /// Nested message and enum types in `GetMemberBankAccountResponse`.
pub mod get_member_bank_account_response { pub mod get_member_bank_account_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_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>, pub member_bank_account:
} ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
}
} }
/// subject = bet.beteran.ss.member_bank_account.UpdateMemberBankAccount /// subject = bet.beteran.ss.member_bank_account.UpdateMemberBankAccount
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankAccountRequest { pub struct UpdateMemberBankAccountRequest {
#[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_account_request::Request>, pub request: ::core::option::Option<update_member_bank_account_request::Request>,
} }
/// Nested message and enum types in `UpdateMemberBankAccountRequest`. /// Nested message and enum types in `UpdateMemberBankAccountRequest`.
pub mod update_member_bank_account_request { pub mod update_member_bank_account_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_id: ::prost::alloc::string::String, pub bank_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(string, tag="4")] #[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, optional, tag="5")] #[prost(string, tag = "5")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub exchange_password: ::prost::alloc::string::String,
} #[prost(string, optional, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>,
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankAccountResponse { pub struct UpdateMemberBankAccountResponse {
#[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_account_response::Result>, pub result: ::core::option::Option<update_member_bank_account_response::Result>,
} }
/// Nested message and enum types in `UpdateMemberBankAccountResponse`. /// Nested message and enum types in `UpdateMemberBankAccountResponse`.
pub mod update_member_bank_account_response { pub mod update_member_bank_account_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_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>, pub member_bank_account:
} ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
}
} }
/// subject = bet.beteran.ss.member_bank_account.DeleteMemberBankAccount /// subject = bet.beteran.ss.member_bank_account.DeleteMemberBankAccount
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberBankAccountRequest { pub struct DeleteMemberBankAccountRequest {
#[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_account_request::Request>, pub request: ::core::option::Option<delete_member_bank_account_request::Request>,
} }
/// Nested message and enum types in `DeleteMemberBankAccountRequest`. /// Nested message and enum types in `DeleteMemberBankAccountRequest`.
pub mod delete_member_bank_account_request { pub mod delete_member_bank_account_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 DeleteMemberBankAccountResponse { pub struct DeleteMemberBankAccountResponse {
#[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_account_response::Result>, pub result: ::core::option::Option<delete_member_bank_account_response::Result>,
} }
/// Nested message and enum types in `DeleteMemberBankAccountResponse`. /// Nested message and enum types in `DeleteMemberBankAccountResponse`.
pub mod delete_member_bank_account_response { pub mod delete_member_bank_account_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {}
}
} }