member, member_bank_account are modified
This commit is contained in:
parent
84d9f84e5a
commit
89c1695e59
|
@ -29,6 +29,8 @@ pub mod create_member_request {
|
|||
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)]
|
||||
|
@ -152,6 +154,22 @@ pub struct UpdateMemberRequest {
|
|||
pub password: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(string, optional, tag = "5")]
|
||||
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)]
|
||||
pub struct UpdateMemberResponse {
|
||||
|
|
|
@ -1,134 +1,141 @@
|
|||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct CreateMemberBankAccountRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub member_id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
#[prost(string, tag = "2")]
|
||||
pub bank_id: ::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(string, optional, tag="5")]
|
||||
#[prost(string, tag = "5")]
|
||||
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)]
|
||||
pub struct CreateMemberBankAccountResponse {
|
||||
#[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_account_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `CreateMemberBankAccountResponse`.
|
||||
pub mod create_member_bank_account_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub member_bank_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListMemberBankAccountsRequest {
|
||||
#[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_accounts_request::Search>,
|
||||
}
|
||||
/// Nested message and enum types in `ListMemberBankAccountsRequest`.
|
||||
pub mod list_member_bank_accounts_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_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>,
|
||||
#[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")]
|
||||
#[prost(string, optional, tag = "5")]
|
||||
pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListMemberBankAccountsResponse {
|
||||
#[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_accounts_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `ListMemberBankAccountsResponse`.
|
||||
pub mod list_member_bank_accounts_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub member_bank_accounts: ::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
|
||||
#[prost(message, repeated, tag = "1")]
|
||||
pub member_bank_accounts:
|
||||
::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetMemberBankAccountRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetMemberBankAccountResponse {
|
||||
#[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_account_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `GetMemberBankAccountResponse`.
|
||||
pub mod get_member_bank_account_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub member_bank_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct UpdateMemberBankAccountRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
#[prost(string, tag = "2")]
|
||||
pub bank_id: ::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(string, optional, tag="5")]
|
||||
#[prost(string, tag = "5")]
|
||||
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)]
|
||||
pub struct UpdateMemberBankAccountResponse {
|
||||
#[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_account_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `UpdateMemberBankAccountResponse`.
|
||||
pub mod update_member_bank_account_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub member_bank_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteMemberBankAccountRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteMemberBankAccountResponse {
|
||||
#[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_account_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `DeleteMemberBankAccountResponse`.
|
||||
pub mod delete_member_bank_account_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
}
|
||||
pub struct Result {}
|
||||
}
|
||||
|
|
|
@ -1,71 +1,74 @@
|
|||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Member {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
#[prost(string, tag = "2")]
|
||||
pub site_id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="3")]
|
||||
#[prost(string, tag = "3")]
|
||||
pub member_class_id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="4")]
|
||||
#[prost(string, tag = "4")]
|
||||
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>,
|
||||
#[prost(uint64, tag="6")]
|
||||
#[prost(uint64, tag = "6")]
|
||||
pub referred_count: u64,
|
||||
#[prost(string, tag="7")]
|
||||
#[prost(string, tag = "7")]
|
||||
pub username: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="8")]
|
||||
#[prost(string, tag = "8")]
|
||||
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>,
|
||||
#[prost(enumeration="MemberState", tag="10")]
|
||||
#[prost(enumeration = "MemberState", tag = "10")]
|
||||
pub state: i32,
|
||||
#[prost(uint64, optional, tag="11")]
|
||||
#[prost(uint64, optional, tag = "11")]
|
||||
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>,
|
||||
#[prost(uint64, optional, tag="13")]
|
||||
#[prost(uint64, optional, tag = "13")]
|
||||
pub last_signined_at: ::core::option::Option<u64>,
|
||||
#[prost(uint64, tag="14")]
|
||||
#[prost(uint64, tag = "14")]
|
||||
pub created_at: u64,
|
||||
#[prost(uint64, tag="15")]
|
||||
#[prost(uint64, tag = "15")]
|
||||
pub updated_at: u64,
|
||||
#[prost(uint64, optional, tag="16")]
|
||||
#[prost(uint64, optional, tag = "16")]
|
||||
pub deleted_at: ::core::option::Option<u64>,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct MemberModel {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(message, optional, tag="2")]
|
||||
pub site: ::core::option::Option<super::site::Site>,
|
||||
#[prost(message, optional, tag="3")]
|
||||
pub member_class: ::core::option::Option<super::member_class::MemberClass>,
|
||||
#[prost(message, optional, tag="4")]
|
||||
pub member_level: ::core::option::Option<super::member_level::MemberLevel>,
|
||||
#[prost(message, optional, tag="5")]
|
||||
#[prost(message, optional, tag = "2")]
|
||||
pub site: ::core::option::Option<crate::models::site::Site>,
|
||||
#[prost(message, optional, tag = "3")]
|
||||
pub member_class: ::core::option::Option<crate::models::member_class::MemberClass>,
|
||||
#[prost(message, optional, tag = "4")]
|
||||
pub member_level: ::core::option::Option<crate::models::member_level::MemberLevel>,
|
||||
#[prost(message, optional, tag = "5")]
|
||||
pub bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccountModel>,
|
||||
#[prost(message, optional, tag = "6")]
|
||||
pub referrer_member: ::core::option::Option<Member>,
|
||||
#[prost(uint64, tag="6")]
|
||||
#[prost(uint64, tag = "7")]
|
||||
pub referred_count: u64,
|
||||
#[prost(string, tag="7")]
|
||||
#[prost(string, tag = "8")]
|
||||
pub username: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="8")]
|
||||
#[prost(string, tag = "9")]
|
||||
pub nickname: ::prost::alloc::string::String,
|
||||
#[prost(string, optional, tag="9")]
|
||||
#[prost(string, optional, tag = "10")]
|
||||
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(enumeration="MemberState", tag="10")]
|
||||
#[prost(enumeration = "MemberState", tag = "11")]
|
||||
pub state: i32,
|
||||
#[prost(uint64, optional, tag="11")]
|
||||
#[prost(uint64, optional, tag = "12")]
|
||||
pub state_changed_at: ::core::option::Option<u64>,
|
||||
#[prost(string, optional, tag="12")]
|
||||
#[prost(string, optional, tag = "13")]
|
||||
pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(uint64, optional, tag="13")]
|
||||
#[prost(uint64, optional, tag = "14")]
|
||||
pub last_signined_at: ::core::option::Option<u64>,
|
||||
#[prost(uint64, tag="14")]
|
||||
#[prost(uint64, tag = "15")]
|
||||
pub created_at: u64,
|
||||
#[prost(uint64, tag="15")]
|
||||
#[prost(uint64, tag = "16")]
|
||||
pub updated_at: u64,
|
||||
#[prost(uint64, optional, tag="16")]
|
||||
#[prost(uint64, optional, tag = "17")]
|
||||
pub deleted_at: ::core::option::Option<u64>,
|
||||
}
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
||||
|
|
|
@ -1,19 +1,42 @@
|
|||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct MemberBankAccount {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
#[prost(string, tag = "2")]
|
||||
pub member_id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="3")]
|
||||
#[prost(string, tag = "3")]
|
||||
pub bank_id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="4")]
|
||||
#[prost(string, tag = "4")]
|
||||
pub name: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="5")]
|
||||
#[prost(string, tag = "5")]
|
||||
pub account_number: ::prost::alloc::string::String,
|
||||
#[prost(string, optional, tag="6")]
|
||||
#[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="7")]
|
||||
#[prost(uint64, tag = "8")]
|
||||
pub created_at: u64,
|
||||
#[prost(uint64, tag="8")]
|
||||
#[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,
|
||||
}
|
||||
|
|
|
@ -51,6 +51,8 @@ pub mod create_member_request {
|
|||
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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -218,6 +220,22 @@ pub mod update_member_request {
|
|||
pub password: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(string, optional, tag = "5")]
|
||||
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)]
|
||||
|
|
|
@ -1,197 +1,209 @@
|
|||
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_LIST_MEMBER_BANK_ACCOUNTS: &str = const_format::concatcp!(SUBJECT, ".ListMemberBankAccounts");
|
||||
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");
|
||||
pub const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: &str =
|
||||
const_format::concatcp!(SUBJECT, ".CreateMemberBankAccount");
|
||||
pub const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: &str =
|
||||
const_format::concatcp!(SUBJECT, ".ListMemberBankAccounts");
|
||||
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
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct CreateMemberBankAccountRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `CreateMemberBankAccountRequest`.
|
||||
pub mod create_member_bank_account_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub member_id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
#[prost(string, tag = "2")]
|
||||
pub bank_id: ::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(string, optional, tag="5")]
|
||||
#[prost(string, tag = "5")]
|
||||
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)]
|
||||
pub struct CreateMemberBankAccountResponse {
|
||||
#[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_account_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `CreateMemberBankAccountResponse`.
|
||||
pub mod create_member_bank_account_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub member_bank_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.member_bank_account.ListMemberBankAccounts
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListMemberBankAccountsRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `ListMemberBankAccountsRequest`.
|
||||
pub mod list_member_bank_accounts_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[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<request::Search>,
|
||||
}
|
||||
/// Nested message and enum types in `Request`.
|
||||
pub mod request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Search {
|
||||
#[prost(string, optional, tag="1")]
|
||||
#[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_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>,
|
||||
#[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")]
|
||||
#[prost(string, optional, tag = "5")]
|
||||
pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
|
||||
}
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListMemberBankAccountsResponse {
|
||||
#[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_accounts_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `ListMemberBankAccountsResponse`.
|
||||
pub mod list_member_bank_accounts_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub member_bank_accounts: ::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
|
||||
#[prost(message, repeated, tag = "1")]
|
||||
pub member_bank_accounts:
|
||||
::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.member_bank_account.GetMemberBankAccount
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetMemberBankAccountRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `GetMemberBankAccountRequest`.
|
||||
pub mod get_member_bank_account_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetMemberBankAccountResponse {
|
||||
#[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_account_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `GetMemberBankAccountResponse`.
|
||||
pub mod get_member_bank_account_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub member_bank_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.member_bank_account.UpdateMemberBankAccount
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct UpdateMemberBankAccountRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `UpdateMemberBankAccountRequest`.
|
||||
pub mod update_member_bank_account_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
#[prost(string, tag = "2")]
|
||||
pub bank_id: ::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(string, optional, tag="5")]
|
||||
#[prost(string, tag = "5")]
|
||||
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)]
|
||||
pub struct UpdateMemberBankAccountResponse {
|
||||
#[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_account_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `UpdateMemberBankAccountResponse`.
|
||||
pub mod update_member_bank_account_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub member_bank_account: ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.member_bank_account.DeleteMemberBankAccount
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteMemberBankAccountRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `DeleteMemberBankAccountRequest`.
|
||||
pub mod delete_member_bank_account_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteMemberBankAccountResponse {
|
||||
#[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_account_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `DeleteMemberBankAccountResponse`.
|
||||
pub mod delete_member_bank_account_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
}
|
||||
pub struct Result {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user