Return role IDs on users and related names on loan APIs.

Loan orders, paid-off letters, and repayments now include user, branch, type, and document names alongside foreign-key IDs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
guwandykandCursor committed 2026-08-19 11:58:15 +05:00
1 parent 2853bed2ec
commit d7cdd53597
10 files changed
+659 -268

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ import "time"
type LoanRepaymentDTO struct {
Id int64 `json:"id"`
UserId int64 `json:"userId"`
UserName string `json:"userName"`
PassportSerie string `json:"passportSerie"`
PassportId string `json:"passportId"`
AccountNumber string `json:"accountNumber"`