30 lines
611 B
Protocol Buffer
30 lines
611 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bet.beteran.member_bank_account;
|
|
|
|
import "models/bank.proto";
|
|
|
|
message MemberBankAccount {
|
|
string id = 1;
|
|
string member_id = 2;
|
|
string bank_id = 3;
|
|
string name = 4;
|
|
string account_number = 5;
|
|
string exchange_password = 6;
|
|
optional string memo = 7;
|
|
uint64 created_at = 8;
|
|
uint64 updated_at = 9;
|
|
}
|
|
|
|
message MemberBankAccountModel {
|
|
string id = 1;
|
|
string member_id = 2;
|
|
bet.beteran.bank.Bank bank = 3;
|
|
string name = 4;
|
|
string account_number = 5;
|
|
string exchange_password = 6;
|
|
optional string memo = 7;
|
|
uint64 created_at = 8;
|
|
uint64 updated_at = 9;
|
|
}
|