paginate api list dokter

This commit is contained in:
renaldybrada
2026-02-03 09:32:24 +07:00
parent f9bdde187e
commit 11bcf44f6b
6 changed files with 76 additions and 10 deletions

No files matched your search

+9 -1
View File
@@ -1,6 +1,9 @@
package dokter
import "database/sql"
import (
"antrian-operasi/internal/shared"
"database/sql"
)
type DokterModel struct {
ID string `json:"id" db:"id"`
@@ -18,3 +21,8 @@ type DokterResponse struct {
HfisCode *string `json:"hfis_code"`
NamaKsm string `json:"nama_ksm"`
}
type ListDokterModelPaginate struct {
Data ListDokterModel
Paging shared.PaginationInfo
}