From 89c1695e5917675a6d1bd64e44dc1c094a4e8366 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Mon, 15 Aug 2022 04:08:32 +0000 Subject: [PATCH] member, member_bank_account are modified --- src/c2se/member.rs | 18 ++ src/c2se/member_bank_account.rs | 179 ++++++++++---------- src/models/member.rs | 145 ++++++++-------- src/models/member_bank_account.rs | 55 ++++-- src/ss/member.rs | 18 ++ src/ss/member_bank_account.rs | 266 ++++++++++++++++-------------- 6 files changed, 381 insertions(+), 300 deletions(-) diff --git a/src/c2se/member.rs b/src/c2se/member.rs index 3953bb6..b3218b6 100644 --- a/src/c2se/member.rs +++ b/src/c2se/member.rs @@ -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, +} +/// 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 { diff --git a/src/c2se/member_bank_account.rs b/src/c2se/member_bank_account.rs index f394589..45fa8cc 100644 --- a/src/c2se/member_bank_account.rs +++ b/src/c2se/member_bank_account.rs @@ -1,134 +1,141 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankAccountRequest { - #[prost(string, tag="1")] - pub member_id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub bank_id: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - #[prost(string, tag="4")] - pub account_number: ::prost::alloc::string::String, - #[prost(string, optional, tag="5")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "1")] + pub member_id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub bank_id: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(string, tag = "4")] + pub account_number: ::prost::alloc::string::String, + #[prost(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")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `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, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_account: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberBankAccountsRequest { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, } /// Nested message and enum types in `ListMemberBankAccountsRequest`. pub mod list_member_bank_accounts_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub member_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="2")] - pub bank_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)] + 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)] pub struct ListMemberBankAccountsResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `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, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, repeated, tag = "1")] + pub member_bank_accounts: + ::prost::alloc::vec::Vec, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankAccountRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankAccountResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `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, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_account: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankAccountRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub bank_id: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - #[prost(string, tag="4")] - pub account_number: ::prost::alloc::string::String, - #[prost(string, optional, tag="5")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub bank_id: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(string, tag = "4")] + pub account_number: ::prost::alloc::string::String, + #[prost(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")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `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, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_account: + ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankAccountRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankAccountResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `DeleteMemberBankAccountResponse`. pub mod delete_member_bank_account_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} } diff --git a/src/models/member.rs b/src/models/member.rs index 927afcd..42cebdb 100644 --- a/src/models/member.rs +++ b/src/models/member.rs @@ -1,81 +1,84 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct Member { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub site_id: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub member_class_id: ::prost::alloc::string::String, - #[prost(string, tag="4")] - pub member_level_id: ::prost::alloc::string::String, - #[prost(string, optional, tag="5")] - pub referrer_member_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, tag="6")] - pub referred_count: u64, - #[prost(string, tag="7")] - pub username: ::prost::alloc::string::String, - #[prost(string, tag="8")] - pub nickname: ::prost::alloc::string::String, - #[prost(string, optional, tag="9")] - pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, - #[prost(enumeration="MemberState", tag="10")] - pub state: i32, - #[prost(uint64, optional, tag="11")] - pub state_changed_at: ::core::option::Option, - #[prost(string, optional, tag="12")] - pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, optional, tag="13")] - pub last_signined_at: ::core::option::Option, - #[prost(uint64, tag="14")] - pub created_at: u64, - #[prost(uint64, tag="15")] - pub updated_at: u64, - #[prost(uint64, optional, tag="16")] - pub deleted_at: ::core::option::Option, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub site_id: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub member_class_id: ::prost::alloc::string::String, + #[prost(string, tag = "4")] + pub member_level_id: ::prost::alloc::string::String, + #[prost(string, optional, tag = "5")] + pub referrer_member_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint64, tag = "6")] + pub referred_count: u64, + #[prost(string, tag = "7")] + pub username: ::prost::alloc::string::String, + #[prost(string, tag = "8")] + pub nickname: ::prost::alloc::string::String, + #[prost(string, optional, tag = "9")] + pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, + #[prost(enumeration = "MemberState", tag = "10")] + pub state: i32, + #[prost(uint64, optional, tag = "11")] + pub state_changed_at: ::core::option::Option, + #[prost(string, optional, tag = "12")] + pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint64, optional, tag = "13")] + pub last_signined_at: ::core::option::Option, + #[prost(uint64, tag = "14")] + pub created_at: u64, + #[prost(uint64, tag = "15")] + pub updated_at: u64, + #[prost(uint64, optional, tag = "16")] + pub deleted_at: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct MemberModel { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(message, optional, tag="2")] - pub site: ::core::option::Option, - #[prost(message, optional, tag="3")] - pub member_class: ::core::option::Option, - #[prost(message, optional, tag="4")] - pub member_level: ::core::option::Option, - #[prost(message, optional, tag="5")] - pub referrer_member: ::core::option::Option, - #[prost(uint64, tag="6")] - pub referred_count: u64, - #[prost(string, tag="7")] - pub username: ::prost::alloc::string::String, - #[prost(string, tag="8")] - pub nickname: ::prost::alloc::string::String, - #[prost(string, optional, tag="9")] - pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, - #[prost(enumeration="MemberState", tag="10")] - pub state: i32, - #[prost(uint64, optional, tag="11")] - pub state_changed_at: ::core::option::Option, - #[prost(string, optional, tag="12")] - pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, optional, tag="13")] - pub last_signined_at: ::core::option::Option, - #[prost(uint64, tag="14")] - pub created_at: u64, - #[prost(uint64, tag="15")] - pub updated_at: u64, - #[prost(uint64, optional, tag="16")] - pub deleted_at: ::core::option::Option, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(message, optional, tag = "2")] + pub site: ::core::option::Option, + #[prost(message, optional, tag = "3")] + pub member_class: ::core::option::Option, + #[prost(message, optional, tag = "4")] + pub member_level: ::core::option::Option, + #[prost(message, optional, tag = "5")] + pub bank_account: + ::core::option::Option, + #[prost(message, optional, tag = "6")] + pub referrer_member: ::core::option::Option, + #[prost(uint64, tag = "7")] + pub referred_count: u64, + #[prost(string, tag = "8")] + pub username: ::prost::alloc::string::String, + #[prost(string, tag = "9")] + pub nickname: ::prost::alloc::string::String, + #[prost(string, optional, tag = "10")] + pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, + #[prost(enumeration = "MemberState", tag = "11")] + pub state: i32, + #[prost(uint64, optional, tag = "12")] + pub state_changed_at: ::core::option::Option, + #[prost(string, optional, tag = "13")] + pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint64, optional, tag = "14")] + pub last_signined_at: ::core::option::Option, + #[prost(uint64, tag = "15")] + pub created_at: u64, + #[prost(uint64, tag = "16")] + pub updated_at: u64, + #[prost(uint64, optional, tag = "17")] + pub deleted_at: ::core::option::Option, } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MemberState { - None = 0, - Normal = 1, - Pending = 2, - Withdrawal = 3, - Dormancy = 4, - Blacklist = 5, - Suspended = 6, + None = 0, + Normal = 1, + Pending = 2, + Withdrawal = 3, + Dormancy = 4, + Blacklist = 5, + Suspended = 6, } diff --git a/src/models/member_bank_account.rs b/src/models/member_bank_account.rs index 24b5d3a..848c742 100644 --- a/src/models/member_bank_account.rs +++ b/src/models/member_bank_account.rs @@ -1,19 +1,42 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct MemberBankAccount { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub member_id: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub bank_id: ::prost::alloc::string::String, - #[prost(string, tag="4")] - pub name: ::prost::alloc::string::String, - #[prost(string, tag="5")] - pub account_number: ::prost::alloc::string::String, - #[prost(string, optional, tag="6")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, tag="7")] - pub created_at: u64, - #[prost(uint64, tag="8")] - pub updated_at: u64, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub member_id: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub bank_id: ::prost::alloc::string::String, + #[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, +} +#[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, + #[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, } diff --git a/src/ss/member.rs b/src/ss/member.rs index 45be81a..3c79221 100644 --- a/src/ss/member.rs +++ b/src/ss/member.rs @@ -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, + } + /// 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)] diff --git a/src/ss/member_bank_account.rs b/src/ss/member_bank_account.rs index 096addb..38a12eb 100644 --- a/src/ss/member_bank_account.rs +++ b/src/ss/member_bank_account.rs @@ -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")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// 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")] - pub member_id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub bank_id: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - #[prost(string, tag="4")] - pub account_number: ::prost::alloc::string::String, - #[prost(string, optional, tag="5")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub member_id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub bank_id: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(string, tag = "4")] + pub account_number: ::prost::alloc::string::String, + #[prost(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")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `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, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_account: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_account.ListMemberBankAccounts #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberBankAccountsRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// 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")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, + } + /// Nested message and enum types in `Request`. + pub mod request { #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, - } - /// Nested message and enum types in `Request`. - pub mod request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub member_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="2")] - pub bank_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>, - } + 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)] pub struct ListMemberBankAccountsResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `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, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, repeated, tag = "1")] + pub member_bank_accounts: + ::prost::alloc::vec::Vec, + } } /// subject = bet.beteran.ss.member_bank_account.GetMemberBankAccount #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankAccountRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// 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")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankAccountResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `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, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_account: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_account.UpdateMemberBankAccount #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankAccountRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// 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")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub bank_id: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - #[prost(string, tag="4")] - pub account_number: ::prost::alloc::string::String, - #[prost(string, optional, tag="5")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub bank_id: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(string, tag = "4")] + pub account_number: ::prost::alloc::string::String, + #[prost(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")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `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, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_account: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_account.DeleteMemberBankAccount #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankAccountRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// 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")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankAccountResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `DeleteMemberBankAccountResponse`. pub mod delete_member_bank_account_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} }