2022-08-13 20:18:21 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package bet.beteran.member_bank_withdraw;
|
|
|
|
|
2022-08-28 13:37:36 +00:00
|
|
|
import "models/member.proto";
|
|
|
|
|
2022-08-13 20:18:21 +00:00
|
|
|
enum MemberBankWithdrawState {
|
|
|
|
NONE = 0;
|
|
|
|
APPLICATION = 1;
|
2022-08-28 13:37:36 +00:00
|
|
|
PENDING = 2;
|
|
|
|
COMPLETE = 3;
|
2022-08-13 20:18:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message MemberBankWithdraw {
|
|
|
|
string id = 1;
|
|
|
|
string member_id = 2;
|
|
|
|
string bank_name = 3;
|
|
|
|
string name = 4;
|
|
|
|
string account_number = 5;
|
2022-08-30 08:32:03 +00:00
|
|
|
double amount = 6;
|
2022-08-13 20:18:21 +00:00
|
|
|
string password = 7;
|
|
|
|
optional string memo = 8;
|
|
|
|
MemberBankWithdrawState state = 9;
|
|
|
|
uint64 state_changed_at = 10;
|
|
|
|
uint64 created_at = 11;
|
|
|
|
uint64 updated_at = 12;
|
|
|
|
}
|
2022-08-28 13:37:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
message MemberBankWithdrawModel {
|
|
|
|
string id = 1;
|
|
|
|
bet.beteran.member.Member member = 2;
|
|
|
|
string bank_name = 3;
|
|
|
|
string name = 4;
|
|
|
|
string account_number = 5;
|
2022-08-30 08:32:03 +00:00
|
|
|
double amount = 6;
|
2022-08-28 13:37:36 +00:00
|
|
|
string password = 7;
|
|
|
|
optional string memo = 8;
|
|
|
|
MemberBankWithdrawState state = 9;
|
|
|
|
uint64 state_changed_at = 10;
|
|
|
|
uint64 created_at = 11;
|
|
|
|
uint64 updated_at = 12;
|
|
|
|
}
|