paginate api list dokter
This commit is contained in:
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user