beteran-protobuf/proto/models/member_bank_withdraw.proto

44 lines
887 B
Protocol Buffer

syntax = "proto3";
package bet.beteran.member_bank_withdraw;
import "models/member.proto";
enum MemberBankWithdrawState {
NONE = 0;
APPLICATION = 1;
PENDING = 2;
COMPLETE = 3;
}
message MemberBankWithdraw {
string id = 1;
string member_id = 2;
string bank_name = 3;
string name = 4;
string account_number = 5;
uint32 amount = 6;
string password = 7;
optional string memo = 8;
MemberBankWithdrawState state = 9;
uint64 state_changed_at = 10;
uint64 created_at = 11;
uint64 updated_at = 12;
}
message MemberBankWithdrawModel {
string id = 1;
bet.beteran.member.Member member = 2;
string bank_name = 3;
string name = 4;
string account_number = 5;
uint32 amount = 6;
string password = 7;
optional string memo = 8;
MemberBankWithdrawState state = 9;
uint64 state_changed_at = 10;
uint64 created_at = 11;
uint64 updated_at = 12;
}