package medicationdispense

import (
	"time"
)

type MedicationDispenseDB struct {
	IdxPesanObat        int64
	NoJual              string
	IdxDaftar           int64
	PatientID           string
	EncounterID         string
	MedicationRequestID string
	MedicationID        string
	PractitionerID      string
	JmlhKeluar          float64
	Sediaan             string
	PreparedDate        time.Time
	HandedOverDate      time.Time
}

type MedicationDispenseSyncLog struct {
	IdxPesanObat         int64  `db:"idxpesanobat"`
	MedicationDispenseID string `db:"medicationdispense_id"`
	RequestPayload       string `db:"request_payload"`
	ResponsePayload      string `db:"response_payload"`
	Status               string `db:"status"`
	ErrorMessage         string `db:"error_message"`
}
