21 lines
558 B
Go
21 lines
558 B
Go
package medication
|
|
|
|
import (
|
|
"database/sql"
|
|
)
|
|
|
|
// MedicationDB merepresentasikan tabel transaksi obat dari t_permintaan_apotek_rajal
|
|
type MedicationDB struct {
|
|
IdxPesanObat int64 `db:"idxpesanobat"`
|
|
KfaCode sql.NullString `db:"kode_kfa"`
|
|
}
|
|
|
|
type MedicationSyncLog struct {
|
|
IdxPesanObat int64 `db:"idxpesanobat"`
|
|
SatuSehatID string `db:"satusehat_id"`
|
|
RequestPayload string `db:"request_payload"`
|
|
ResponsePayload string `db:"response_payload"`
|
|
Status string `db:"status"`
|
|
ErrorMessage string `db:"error_message"`
|
|
}
|