63 lines
2.1 KiB
Rust
63 lines
2.1 KiB
Rust
#[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(double, tag = "6")]
|
|
pub amount: f64,
|
|
#[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<super::member::Member>,
|
|
#[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(double, tag = "6")]
|
|
pub amount: f64,
|
|
#[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,
|
|
Pending = 2,
|
|
Complete = 3,
|
|
}
|