Open jacky-htg opened 1 year ago
message BankAccount {
string id = 1;
string company_id = 2;
string bank_name = 3;
string account_number = 4;
string account_name = 5;
string account_type = 6;
string owner_type = 7;
string created_at = 8;
string created_by = 9;
string updated_at = 10;
string updated_by = 11;
}
service BankAccountService {
rpc Create(BankAccount) returns (BankAccount) {}
rpc View(Id) returns (BankAccount) {}
rpc Update(Id) returns (BankAccount) {}
rpc List(EmptyMessage) returns (stream BankAccount) {}
}
see file of proto/ledgers/bank_account_service.proto