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 {
|
||||
|
|
|
@ -8,7 +8,9 @@ pub struct CreateMemberBankAccountRequest {
|
|||
pub name: ::prost::alloc::string::String,
|
||||
#[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)]
|
||||
|
@ -23,7 +25,8 @@ 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>,
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
|
@ -63,7 +66,8 @@ 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>,
|
||||
pub member_bank_accounts:
|
||||
::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
|
@ -83,7 +87,8 @@ 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>,
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
|
@ -96,7 +101,9 @@ pub struct UpdateMemberBankAccountRequest {
|
|||
pub name: ::prost::alloc::string::String,
|
||||
#[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)]
|
||||
|
@ -111,7 +118,8 @@ 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>,
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
|
@ -129,6 +137,5 @@ pub struct DeleteMemberBankAccountResponse {
|
|||
/// 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 {}
|
||||
}
|
||||
|
|
|
@ -38,34 +38,37 @@ pub struct MemberModel {
|
|||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[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")]
|
||||
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")]
|
||||
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")]
|
||||
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")]
|
||||
pub username: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "8")]
|
||||
pub username: ::prost::alloc::string::String,
|
||||
#[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")]
|
||||
pub created_at: u64,
|
||||
#[prost(uint64, tag = "15")]
|
||||
pub created_at: u64,
|
||||
#[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)]
|
||||
|
|
|
@ -10,10 +10,33 @@ pub struct MemberBankAccount {
|
|||
pub name: ::prost::alloc::string::String,
|
||||
#[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")]
|
||||
pub created_at: u64,
|
||||
#[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<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,10 +1,15 @@
|
|||
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)]
|
||||
|
@ -26,7 +31,9 @@ pub mod create_member_bank_account_request {
|
|||
pub name: ::prost::alloc::string::String,
|
||||
#[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>,
|
||||
}
|
||||
}
|
||||
|
@ -42,7 +49,8 @@ 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>,
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.member_bank_account.ListMemberBankAccounts
|
||||
|
@ -93,7 +101,8 @@ 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>,
|
||||
pub member_bank_accounts:
|
||||
::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.member_bank_account.GetMemberBankAccount
|
||||
|
@ -124,7 +133,8 @@ 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>,
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.member_bank_account.UpdateMemberBankAccount
|
||||
|
@ -147,7 +157,9 @@ pub mod update_member_bank_account_request {
|
|||
pub name: ::prost::alloc::string::String,
|
||||
#[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>,
|
||||
}
|
||||
}
|
||||
|
@ -163,7 +175,8 @@ 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>,
|
||||
pub member_bank_account:
|
||||
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.member_bank_account.DeleteMemberBankAccount
|
||||
|
@ -192,6 +205,5 @@ pub struct DeleteMemberBankAccountResponse {
|
|||
/// 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