diff --git a/src/c2se/member_bank_deposit.rs b/src/c2se/member_bank_deposit.rs index 9c31fd3..67bbac0 100644 --- a/src/c2se/member_bank_deposit.rs +++ b/src/c2se/member_bank_deposit.rs @@ -20,7 +20,7 @@ pub mod create_member_bank_deposit_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_deposit: - ::core::option::Option, + ::core::option::Option, } } #[derive(Clone, PartialEq, ::prost::Message)] @@ -65,7 +65,7 @@ pub mod list_member_bank_deposits_response { pub struct Result { #[prost(message, repeated, tag = "1")] pub member_bank_deposits: - ::prost::alloc::vec::Vec, + ::prost::alloc::vec::Vec, } } #[derive(Clone, PartialEq, ::prost::Message)] @@ -86,7 +86,7 @@ pub mod get_member_bank_deposit_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_deposit: - ::core::option::Option, + ::core::option::Option, } } #[derive(Clone, PartialEq, ::prost::Message)] @@ -113,7 +113,7 @@ pub mod update_member_bank_deposit_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_deposit: - ::core::option::Option, + ::core::option::Option, } } #[derive(Clone, PartialEq, ::prost::Message)] @@ -139,7 +139,7 @@ pub mod update_member_bank_deposit_for_state_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_deposit: - ::core::option::Option, + ::core::option::Option, } } #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/src/c2se/member_bank_withdraw.rs b/src/c2se/member_bank_withdraw.rs index c0156cb..59a5207 100644 --- a/src/c2se/member_bank_withdraw.rs +++ b/src/c2se/member_bank_withdraw.rs @@ -26,7 +26,7 @@ pub mod create_member_bank_withdraw_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_withdraw: - ::core::option::Option, + ::core::option::Option, } } #[derive(Clone, PartialEq, ::prost::Message)] @@ -75,7 +75,7 @@ pub mod list_member_bank_withdraws_response { pub struct Result { #[prost(message, repeated, tag = "1")] pub member_bank_withdraws: - ::prost::alloc::vec::Vec, + ::prost::alloc::vec::Vec, } } #[derive(Clone, PartialEq, ::prost::Message)] @@ -96,7 +96,7 @@ pub mod get_member_bank_withdraw_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_withdraw: - ::core::option::Option, + ::core::option::Option, } } #[derive(Clone, PartialEq, ::prost::Message)] @@ -129,7 +129,7 @@ pub mod update_member_bank_withdraw_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_withdraw: - ::core::option::Option, + ::core::option::Option, } } #[derive(Clone, PartialEq, ::prost::Message)] @@ -155,7 +155,7 @@ pub mod update_member_bank_withdraw_for_state_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_withdraw: - ::core::option::Option, + ::core::option::Option, } } #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/src/models/member_bank_deposit.rs b/src/models/member_bank_deposit.rs index 71f9166..d52ad19 100644 --- a/src/models/member_bank_deposit.rs +++ b/src/models/member_bank_deposit.rs @@ -1,28 +1,50 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct MemberBankDeposit { - #[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 name: ::prost::alloc::string::String, - #[prost(uint32, tag="4")] - pub amount: u32, - #[prost(string, optional, tag="5")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - #[prost(enumeration="MemberBankDepositState", tag="6")] - pub state: i32, - #[prost(uint64, tag="7")] - pub state_changed_at: u64, - #[prost(uint64, tag="8")] - pub created_at: u64, - #[prost(uint64, tag="9")] - 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 name: ::prost::alloc::string::String, + #[prost(uint32, tag = "4")] + pub amount: u32, + #[prost(string, optional, tag = "5")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(enumeration = "MemberBankDepositState", tag = "6")] + pub state: i32, + #[prost(uint64, tag = "7")] + pub state_changed_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 MemberBankDepositModel { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(message, optional, tag = "2")] + pub member: ::core::option::Option, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "4")] + pub amount: u32, + #[prost(string, optional, tag = "5")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(enumeration = "MemberBankDepositState", tag = "6")] + pub state: i32, + #[prost(uint64, tag = "7")] + pub state_changed_at: u64, + #[prost(uint64, tag = "8")] + pub created_at: u64, + #[prost(uint64, tag = "9")] + pub updated_at: u64, } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MemberBankDepositState { - None = 0, - Application = 1, - Complete = 2, + None = 0, + Application = 1, + Pending = 2, + Complete = 3, } diff --git a/src/models/member_bank_withdraw.rs b/src/models/member_bank_withdraw.rs index 3f9660e..396ce4d 100644 --- a/src/models/member_bank_withdraw.rs +++ b/src/models/member_bank_withdraw.rs @@ -1,34 +1,62 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct MemberBankWithdraw { - #[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_name: ::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(uint32, tag="6")] - pub amount: u32, - #[prost(string, tag="7")] - pub password: ::prost::alloc::string::String, - #[prost(string, optional, tag="8")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - #[prost(enumeration="MemberBankWithdrawState", tag="9")] - pub state: i32, - #[prost(uint64, tag="10")] - pub state_changed_at: u64, - #[prost(uint64, tag="11")] - pub created_at: u64, - #[prost(uint64, tag="12")] - 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_name: ::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(uint32, tag = "6")] + pub amount: u32, + #[prost(string, tag = "7")] + pub password: ::prost::alloc::string::String, + #[prost(string, optional, tag = "8")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(enumeration = "MemberBankWithdrawState", tag = "9")] + pub state: i32, + #[prost(uint64, tag = "10")] + pub state_changed_at: u64, + #[prost(uint64, tag = "11")] + pub created_at: u64, + #[prost(uint64, tag = "12")] + pub updated_at: u64, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct MemberBankWithdrawModel { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(message, optional, tag = "2")] + pub member: ::core::option::Option, + #[prost(string, tag = "3")] + pub bank_name: ::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(uint32, tag = "6")] + pub amount: u32, + #[prost(string, tag = "7")] + pub password: ::prost::alloc::string::String, + #[prost(string, optional, tag = "8")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(enumeration = "MemberBankWithdrawState", tag = "9")] + pub state: i32, + #[prost(uint64, tag = "10")] + pub state_changed_at: u64, + #[prost(uint64, tag = "11")] + pub created_at: u64, + #[prost(uint64, tag = "12")] + pub updated_at: u64, } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MemberBankWithdrawState { - None = 0, - Application = 1, - Complete = 2, + None = 0, + Application = 1, + Pending = 2, + Complete = 3, } diff --git a/src/ss/member_bank_deposit.rs b/src/ss/member_bank_deposit.rs index ffd83bd..b1e9346 100644 --- a/src/ss/member_bank_deposit.rs +++ b/src/ss/member_bank_deposit.rs @@ -52,7 +52,7 @@ pub mod create_member_bank_deposit_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_deposit: - ::core::option::Option, + ::core::option::Option, } } /// subject = bet.beteran.ss.member_bank_deposit.ListMemberBankDeposits @@ -108,7 +108,7 @@ pub mod list_member_bank_deposits_response { pub struct Result { #[prost(message, repeated, tag = "1")] pub member_bank_deposits: - ::prost::alloc::vec::Vec, + ::prost::alloc::vec::Vec, } } /// subject = bet.beteran.ss.member_bank_deposit.GetMemberBankDeposit @@ -140,7 +140,7 @@ pub mod get_member_bank_deposit_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_deposit: - ::core::option::Option, + ::core::option::Option, } } /// subject = bet.beteran.ss.member_bank_deposit.UpdateMemberBankDeposit @@ -178,7 +178,7 @@ pub mod update_member_bank_deposit_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_deposit: - ::core::option::Option, + ::core::option::Option, } } /// subject = bet.beteran.ss.member_bank_deposit.UpdateMemberBankDepositForState @@ -215,7 +215,7 @@ pub mod update_member_bank_deposit_for_state_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_deposit: - ::core::option::Option, + ::core::option::Option, } } /// subject = bet.beteran.ss.member_bank_deposit.DeleteMemberBankDeposit @@ -261,6 +261,6 @@ pub mod after_update_member_bank_deposit_for_state { pub struct Event { #[prost(message, optional, tag = "1")] pub member_bank_deposit: - ::core::option::Option, + ::core::option::Option, } } diff --git a/src/ss/member_bank_withdraw.rs b/src/ss/member_bank_withdraw.rs index 1362335..4d20851 100644 --- a/src/ss/member_bank_withdraw.rs +++ b/src/ss/member_bank_withdraw.rs @@ -58,7 +58,7 @@ pub mod create_member_bank_withdraw_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_withdraw: - ::core::option::Option, + ::core::option::Option, } } /// subject = bet.beteran.ss.member_bank_withdraw.ListMemberBankWithdraws @@ -118,7 +118,7 @@ pub mod list_member_bank_withdraws_response { pub struct Result { #[prost(message, repeated, tag = "1")] pub member_bank_withdraws: - ::prost::alloc::vec::Vec, + ::prost::alloc::vec::Vec, } } /// subject = bet.beteran.ss.member_bank_withdraw.GetMemberBankWithdraw @@ -150,7 +150,7 @@ pub mod get_member_bank_withdraw_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_withdraw: - ::core::option::Option, + ::core::option::Option, } } /// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdraw @@ -194,7 +194,7 @@ pub mod update_member_bank_withdraw_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_withdraw: - ::core::option::Option, + ::core::option::Option, } } /// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdrawForState @@ -231,7 +231,7 @@ pub mod update_member_bank_withdraw_for_state_response { pub struct Result { #[prost(message, optional, tag = "1")] pub member_bank_withdraw: - ::core::option::Option, + ::core::option::Option, } } /// subject = bet.beteran.ss.member_bank_withdraw.DeleteMemberBankWithdraw @@ -277,6 +277,6 @@ pub mod after_update_member_bank_withdraw_for_state { pub struct Event { #[prost(message, optional, tag = "1")] pub member_bank_withdraw: - ::core::option::Option, + ::core::option::Option, } }