jacky-htg / ledger-service

General Ledger service using golang grpc and postgresql. This service is part of inventory microservices.
GNU General Public License v3.0
3 stars 0 forks source link

Bank Account Service #12

Open jacky-htg opened 1 year ago

jacky-htg commented 1 year ago

see file of proto/ledgers/bank_account_service.proto

jacky-htg commented 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) {}
}