Open jacky-htg opened 11 months ago
message CashReceipt {
string id = 1;
string company_id = 2;
string code = 3;
string date = 4;
string reference_no = 5;
Debt debt = 6;
string sales_id = 7;
double amount = 8;
string source = 9;
string description = 10;
string created_at = 11;
string created_by = 12;
string updated_at = 13;
string updated_by = 14;
}
service CashReceiptService {
rpc Create(CashReceipt) returns (CashReceipt) {}
rpc View(Id) returns (CashReceipt) {}
rpc Update(Id) returns (CashReceipt) {}
rpc List(EmptyMessage) returns (stream CashReceipt) {}
}
see file of proto/ledgers/cash_receipt_service.proto